Fixed by refreshing wps from states

pull/9104/head
Aleix Suau 4 years ago committed by Oliver Günther
parent 7e68bd8ce1
commit e9c59029f5
  1. 6
      frontend/src/app/components/wp-card-view/wp-card-view.component.ts

@ -140,9 +140,9 @@ export class WorkPackageCardViewComponent extends UntilDestroyedMixin implements
return !!events.find(event => wpIds.indexOf(event.id) !== -1);
})
).subscribe(() => {
this.workPackages = this.wpViewOrder.orderedWorkPackages();
this.cdRef.detectChanges();
});
this.workPackages = this.workPackages.map(wp => this.states.workPackages.get(wp.id!).getValueOr(wp));
this.cdRef.detectChanges();
});
this.querySpace.results
.values$()

Loading…
Cancel
Save