diff --git a/app/client/src/constants/WidgetConstants.tsx b/app/client/src/constants/WidgetConstants.tsx index 6adfca906c..f81fec6dfb 100644 --- a/app/client/src/constants/WidgetConstants.tsx +++ b/app/client/src/constants/WidgetConstants.tsx @@ -70,7 +70,7 @@ export const layoutConfigurations: LayoutConfigurations = { FLUID: { minWidth: -1, maxWidth: -1 }, }; -export const LATEST_PAGE_VERSION = 60; +export const LATEST_PAGE_VERSION = 61; export const GridDefaults = { DEFAULT_CELL_SIZE: 1, diff --git a/app/client/src/utils/DSLMigrations.ts b/app/client/src/utils/DSLMigrations.ts index 7a796eb571..eb4bd49adb 100644 --- a/app/client/src/utils/DSLMigrations.ts +++ b/app/client/src/utils/DSLMigrations.ts @@ -1086,12 +1086,12 @@ export const transformDSL = ( } if (currentDSL.version === 59) { - currentDSL = migrateTableWidgetV2Validation(currentDSL); - currentDSL.version = LATEST_PAGE_VERSION; + currentDSL = migrateChartWidgetReskinningData(currentDSL); + currentDSL.version = 60; } - if (currentDSL.version === 59) { - currentDSL = migrateChartWidgetReskinningData(currentDSL); + if (currentDSL.version === 60) { + currentDSL = migrateTableWidgetV2Validation(currentDSL); currentDSL.version = LATEST_PAGE_VERSION; }