From 2e848980ded296e43fc99c037064264fd5ff22e4 Mon Sep 17 00:00:00 2001 From: Sebastian Stehle Date: Wed, 10 Oct 2018 12:43:08 +0200 Subject: [PATCH] markForCheck --- src/Squidex/app/shared/components/pipes.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Squidex/app/shared/components/pipes.ts b/src/Squidex/app/shared/components/pipes.ts index 8e5e1351d..17e01c3ad 100644 --- a/src/Squidex/app/shared/components/pipes.ts +++ b/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.lastValue = value; - this.changeDetector.detectChanges(); + this.changeDetector.markForCheck(); }); } @@ -90,7 +90,7 @@ class UserAsyncPipe implements OnDestroy { this.subscription = transform(this.users).subscribe(value => { this.lastValue = value; - this.changeDetector.detectChanges(); + this.changeDetector.markForCheck(); }); }