From 7bf79cfe3dee2298a6b6ccb14d36c245761d15f7 Mon Sep 17 00:00:00 2001 From: mpetrov Date: Thu, 22 Aug 2024 16:47:54 +0300 Subject: [PATCH] changed approach to dashboard version change --- .../home/components/dashboard-page/dashboard-page.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts index 209b3c1846..0d379b1623 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts +++ b/ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts @@ -1227,9 +1227,8 @@ export class DashboardPageComponent extends PageComponent implements IDashboardC }; this.init(dashboardPageInitData); } else { - this.dashboard = dashboard; + this.dashboard.version = dashboard.version; this.setEditMode(false, false); - this.dashboardConfiguration = this.dashboard.configuration; } }); }