We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d35d5e5 commit cf61858Copy full SHA for cf61858
geonode_mapstore_client/client/js/selectors/resource.js
@@ -356,7 +356,9 @@ export const isNewDashboardDirty = (state) => {
356
const layouts = currentData?.layouts || [];
357
return widgets.length > 0 ||
358
layouts.length > 1 ||
359
- (layouts.length === 1 && (layouts[0].name !== "Main view" || layouts[0].color !== null));
+ (layouts.length === 1 &&
360
+ (layouts[0].name !== "Main view" || layouts[0].color !== null) // Default layout name is "Main view"
361
+ );
362
};
363
364
export const isNewGeoStoryDirty = (state) => {
0 commit comments