diff --git a/src/lib/components/wizard/StepColumnMap.svelte b/src/lib/components/wizard/StepColumnMap.svelte index 8913673..03276ab 100644 --- a/src/lib/components/wizard/StepColumnMap.svelte +++ b/src/lib/components/wizard/StepColumnMap.svelte @@ -337,9 +337,7 @@ // Find the current sheet in recent sheets and update its column mapping const sheetIndex = recentSheets.findIndex( - (sheet: SheetInfoType) => - (sheet.id === $selectedSheet.id || sheet.id === $selectedSheet.id) && - (sheet.sheetName === selectedSheetName || sheet.sheetMapping === selectedSheetName) + (sheet: SheetInfoType) => sheet.id === $selectedSheet.id ); const columnMappingData = {