Skip to content

Commit

Permalink
[25770] Refresh relations on entering the relations tab (#5747)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther committed Jul 12, 2017
1 parent e29b8e6 commit 998dcbf
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -51,6 +51,7 @@ export class WorkPackageRelationsController {
protected wpRelations:WorkPackageRelationsService,
protected wpCacheService:WorkPackageCacheService) {

this.wpRelations.require(this.workPackage.id, true);
scopedObservable(this.$scope,
this.wpRelations.state(this.workPackage.id).values$())
.subscribe((relations:RelationsStateValue) => {
Expand All @@ -62,7 +63,6 @@ export class WorkPackageRelationsController {
this.wpCacheService.loadWorkPackage(this.workPackage.id).values$())
.subscribe((wp:WorkPackageResourceInterface) => {
this.workPackage = wp;
this.wpRelations.require(wp.id);
});
}

Expand Down

0 comments on commit 998dcbf

Please sign in to comment.