From 63242d88521914e45e6a05efc1ea36bb18d1c6eb Mon Sep 17 00:00:00 2001 From: Christian Vidal Wolf Date: Thu, 23 Apr 2026 16:26:04 +0200 Subject: [PATCH] fix: resolve TYPE column with pattern ['type'] instead of ['product','type'] The column header in the Excel is 'TYPE', not 'Product Type', so the old pattern never matched. resolveColumnIndices fell back to the hardcoded index 103, causing the PRODUCT_TYPE editable column index to be wrong on reload and edited values (e.g. 'Surprise Bath bomb') to never be applied. Co-Authored-By: Claude Sonnet 4.6 --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index 612f1cf..863bd66 100644 --- a/src/types.ts +++ b/src/types.ts @@ -78,7 +78,7 @@ export const COLUMN_PATTERNS: Record = { VERIFIED_DIMS: ['verified'], VALIDATED_CHECK: ['validated'], VALIDATED_NOTE: ['note'], - PRODUCT_TYPE: ['product', 'type'], + PRODUCT_TYPE: ['type'], ITEM_TO_LOGISTIC: ['item', 'to', 'logistic'], ANNA_CHECK: ['anna', 'check'], ANNA_NOTE: ['anna', 'note']