mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 14:55:24 +02:00
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 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
f3ed3cf147
commit
63242d8852
+1
-1
@@ -78,7 +78,7 @@ export const COLUMN_PATTERNS: Record<keyof typeof COLUMNS, string[]> = {
|
||||
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']
|
||||
|
||||
Reference in New Issue
Block a user