From 1fdbba6fc6897921928ef70b563d69bc7c44c8fa Mon Sep 17 00:00:00 2001 From: Dmitriymush Date: Tue, 19 Dec 2023 13:44:28 +0200 Subject: [PATCH] UI: fixed initial value for targetDashboardId valueChanges pipe --- .../widget/action/widget-action-dialog.component.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/action/widget-action-dialog.component.ts b/ui-ngx/src/app/modules/home/components/widget/action/widget-action-dialog.component.ts index 06cb6b1106..0aeed84e5e 100644 --- a/ui-ngx/src/app/modules/home/components/widget/action/widget-action-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/action/widget-action-dialog.component.ts @@ -225,7 +225,7 @@ export class WidgetActionDialogComponent extends DialogComponent(targetDashboardId), + dashboardControl.valueChanges.pipe( + startWith(dashboardControl.value), tap(() => { this.targetDashboardStateSearchText = ''; }),