Fiexed column mapping storage

This commit is contained in:
Roman Krček
2025-08-06 14:34:52 +02:00
parent ebb14e9e1a
commit 7fb72c7d75

View File

@@ -337,9 +337,7 @@
// Find the current sheet in recent sheets and update its column mapping // Find the current sheet in recent sheets and update its column mapping
const sheetIndex = recentSheets.findIndex( const sheetIndex = recentSheets.findIndex(
(sheet: SheetInfoType) => (sheet: SheetInfoType) => sheet.id === $selectedSheet.id
(sheet.id === $selectedSheet.id || sheet.id === $selectedSheet.id) &&
(sheet.sheetName === selectedSheetName || sheet.sheetMapping === selectedSheetName)
); );
const columnMappingData = { const columnMappingData = {