Browse Source

markForCheck

pull/327/head
Sebastian Stehle 7 years ago
parent
commit
2e848980de
  1. 4
      src/Squidex/app/shared/components/pipes.ts

4
src/Squidex/app/shared/components/pipes.ts

@ -54,7 +54,7 @@ export class HistoryMessagePipe implements OnDestroy, PipeTransform {
this.subscription = formatHistoryMessage(event.message, this.users).subscribe(value => { this.subscription = formatHistoryMessage(event.message, this.users).subscribe(value => {
this.lastValue = value; this.lastValue = value;
this.changeDetector.detectChanges(); this.changeDetector.markForCheck();
}); });
} }
@ -90,7 +90,7 @@ class UserAsyncPipe implements OnDestroy {
this.subscription = transform(this.users).subscribe(value => { this.subscription = transform(this.users).subscribe(value => {
this.lastValue = value; this.lastValue = value;
this.changeDetector.detectChanges(); this.changeDetector.markForCheck();
}); });
} }

Loading…
Cancel
Save