UI: Add change detection when updating dashboard state to prevent rare cases when compiled template in markdown widget is not updated.

This commit is contained in:
Igor Kulikov 2025-04-10 18:00:22 +03:00
parent 9a3ab5348b
commit 3a73bf97ed

View File

@ -1118,6 +1118,7 @@ export class DashboardPageComponent extends PageComponent implements IDashboardC
this.dashboardCtx.aliasController.dashboardStateChanged();
this.isRightLayoutOpened = openRightLayout ? true : false;
this.updateLayouts(layoutsData);
this.cd.markForCheck();
}
setTimeout(() => {
this.mobileService.onDashboardLoaded(this.layouts.right.show, this.isRightLayoutOpened);