fix(Map): Fix problem with restoring settings on widgets

This commit is contained in:
DanSylvest
2025-10-11 19:10:27 +03:00
parent aa4d49027c
commit 748347df9a
4 changed files with 4 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ export const applyMigrations = (mapSettings: any) => {
return { ...currentMapSettings, version: STORED_SETTINGS_VERSION, migratedFromOld: true };
}
return;
return currentMapSettings;
}
const cmVersion = currentMapSettings.version || 0;