mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 15:35:23 +02:00
debug: add immediate log after getHistoryDataForMerge
This commit is contained in:
@@ -137,6 +137,7 @@ export default function App() {
|
|||||||
console.log('Fetching history data from Supabase for merge...');
|
console.log('Fetching history data from Supabase for merge...');
|
||||||
const historyData = await getHistoryDataForMerge();
|
const historyData = await getHistoryDataForMerge();
|
||||||
console.log('Supabase synced rows:', Object.keys(syncedData).length, '| History rows:', Object.keys(historyData).length);
|
console.log('Supabase synced rows:', Object.keys(syncedData).length, '| History rows:', Object.keys(historyData).length);
|
||||||
|
console.log('[DEBUG] historyData["59272EN"] exists:', '59272EN' in historyData, '| value:', historyData['59272EN']?.[103], '| type:', typeof historyData['59272EN']);
|
||||||
|
|
||||||
// Extend headers with virtual columns if the Excel is shorter than the saved data.
|
// Extend headers with virtual columns if the Excel is shorter than the saved data.
|
||||||
// COLUMNS hardcoded indices (PRODUCT_TYPE=103, ITEM_TO_LOGISTIC=104, etc.) are used
|
// COLUMNS hardcoded indices (PRODUCT_TYPE=103, ITEM_TO_LOGISTIC=104, etc.) are used
|
||||||
|
|||||||
Reference in New Issue
Block a user