Skip to content

Commit

Permalink
Atlas bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
BojanSovticEngIT committed Nov 21, 2023
1 parent b6cf73a commit 8160d26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/documentExecution/dashboard/DashboardHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ export const formatDashboardForSave = (dashboard: IDashboard) => {
dashboard.widgets[i] = formatWidgetForSave(dashboard.widgets[i]) as IWidget
}
formatVariablesForSave(dashboard.configuration)
delete dashboard.allDatasetsLoaded
const propertiesForDelete = ['allDatasetsLoaded', 'htmlGallery', 'pythonGallery', 'customChartGallery', 'currentView', 'associations', 'drivers', 'crossNavigations', 'document', 'outputParameters']
propertiesForDelete.forEach((property: string) => delete dashboard[property])
}

const formatVariablesForSave = (dashboardConfiguration: IDashboardConfiguration) => {
Expand Down

0 comments on commit 8160d26

Please sign in to comment.