This commit is contained in:
Baobhan Sith
2025-05-13 10:24:02 +08:00
parent ee8659ae73
commit fea90fb6ab
10 changed files with 1 additions and 27 deletions
@@ -208,7 +208,6 @@ export const useSettingsStore = defineStore('settings', () => {
try {
if (settings.value.fileManagerColWidths) {
loadedFmWidths = JSON.parse(settings.value.fileManagerColWidths);
console.log(`[SettingsStore] Successfully parsed fileManagerColWidths JSON: ${JSON.stringify(loadedFmWidths)}`);
if (typeof loadedFmWidths !== 'object' || loadedFmWidths === null) {
console.warn('[SettingsStore] Invalid fileManagerColWidths format loaded, resetting.');
loadedFmWidths = {};