From affa1380303c0c0b4e7d2803b89d1efd9ca85672 Mon Sep 17 00:00:00 2001 From: Dan Percic Date: Fri, 19 Aug 2022 21:05:52 +0300 Subject: [PATCH] RED-4805 & RED-4725: use markForCheck instead of detectChanges --- .../components/workflow-item/workflow-item.component.ts | 2 +- libs/common-ui | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/red-ui/src/app/modules/dossier-overview/components/workflow-item/workflow-item.component.ts b/apps/red-ui/src/app/modules/dossier-overview/components/workflow-item/workflow-item.component.ts index 36dc134b5..35da040ca 100644 --- a/apps/red-ui/src/app/modules/dossier-overview/components/workflow-item/workflow-item.component.ts +++ b/apps/red-ui/src/app/modules/dossier-overview/components/workflow-item/workflow-item.component.ts @@ -28,6 +28,6 @@ export class WorkflowItemComponent implements OnInit { @Debounce(30) private _updateItemWidth(entry: ResizeObserverEntry): void { this.width = entry.contentRect.width; - this._changeRef.detectChanges(); + this._changeRef.markForCheck(); } } diff --git a/libs/common-ui b/libs/common-ui index 4c0e6d1be..4edb6bedc 160000 --- a/libs/common-ui +++ b/libs/common-ui @@ -1 +1 @@ -Subproject commit 4c0e6d1beda5b9633e73e5cafd59b5dcf76c5428 +Subproject commit 4edb6bedc428ff1da47565aec0497681c0bda804