UI: fixed gridster options update for mobile mode

This commit is contained in:
Dmitriymush 2024-02-05 14:38:00 +02:00
parent dcf89c0fd8
commit f46aed1b8e

View File

@ -290,12 +290,12 @@ export class DashboardComponent extends PageComponent implements IDashboardCompo
this.dashboardTimewindowChangedSubject.next(this.dashboardTimewindow); this.dashboardTimewindowChangedSubject.next(this.dashboardTimewindow);
} }
if (updateMobileOpts) {
this.updateMobileOpts();
}
if (updateLayoutOpts) { if (updateLayoutOpts) {
this.updateLayoutOpts(); this.updateLayoutOpts();
} }
if (updateMobileOpts) {
this.updateMobileOpts();
}
if (updateEditingOpts) { if (updateEditingOpts) {
this.updateEditingOpts(); this.updateEditingOpts();
} }