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:
parent
9a3ab5348b
commit
3a73bf97ed
@ -1118,6 +1118,7 @@ export class DashboardPageComponent extends PageComponent implements IDashboardC
|
|||||||
this.dashboardCtx.aliasController.dashboardStateChanged();
|
this.dashboardCtx.aliasController.dashboardStateChanged();
|
||||||
this.isRightLayoutOpened = openRightLayout ? true : false;
|
this.isRightLayoutOpened = openRightLayout ? true : false;
|
||||||
this.updateLayouts(layoutsData);
|
this.updateLayouts(layoutsData);
|
||||||
|
this.cd.markForCheck();
|
||||||
}
|
}
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.mobileService.onDashboardLoaded(this.layouts.right.show, this.isRightLayoutOpened);
|
this.mobileService.onDashboardLoaded(this.layouts.right.show, this.isRightLayoutOpened);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user