changed approach to dashboard version change

This commit is contained in:
mpetrov 2024-08-22 16:47:54 +03:00
parent da277be306
commit 7bf79cfe3d

View File

@ -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;
}
});
}