mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 15:35:23 +02:00
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:
+1
-1
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user