chore: fix table widget migration merge conflict (#16711)

This commit is contained in:
balajisoundar 2022-09-13 12:01:40 +05:30 committed by GitHub
parent 6f45430395
commit 87774a64ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -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,

View File

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