Do not update with old values, but touch state to fire subscribers instead

pull/7409/head
Henriette Dinger 5 years ago
parent 45037e9476
commit 0e37e2df13
  1. 2
      modules/costs/frontend/module/wp-display/wp-display-costs-by-type-field.module.ts

@ -62,7 +62,7 @@ export class CostsByTypeDisplayField extends DisplayField {
this.value.$load().then(() => {
if (this.resource.$source._type === 'WorkPackage') {
this.wpCacheService.updateWorkPackage(this.resource);
this.wpCacheService.touch(this.resource.id!);
}
});
}

Loading…
Cancel
Save