mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 13:45:24 +02:00
Fix: Restore missing user edits by refining the data merge logic.
- Migrated 126 manual edits to 'edited' status. - Updated App.tsx to merge rows with 'edited' or 'synced' status. - Protected manual edits from being overwritten by automated Dropbox syncs.
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ export async function saveRowToSupabase(articleNo: string, rowData: ExcelRow): P
|
||||
body: JSON.stringify({
|
||||
product_id: articleNo,
|
||||
data: rowData,
|
||||
status: 'synced',
|
||||
status: 'edited',
|
||||
updated_at: new Date().toISOString()
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user