UI: Change status of restored rows from 'pending' to 'synced' to remove distracting yellow highlights. Now previously saved work appears with a normal background while still being correctly loaded from the database.

This commit is contained in:
Christian Vidal Wolf
2026-04-23 15:09:00 +02:00
parent 397023b00d
commit 68d8d67f95
+1 -1
View File
@@ -174,7 +174,7 @@ export default function App() {
finalRow[idx] = synced.data[idx]; finalRow[idx] = synced.data[idx];
} }
}); });
setRowStatuses(prev => ({ ...prev, [articleNo]: 'pending' })); setRowStatuses(prev => ({ ...prev, [articleNo]: 'synced' }));
} }
// Otherwise use Dropbox values (don't merge, just process formatting) // Otherwise use Dropbox values (don't merge, just process formatting)