mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
fix: group tables loading rows issue
This commit is contained in:
@@ -45,8 +45,7 @@ const rowsReducer = (prevRows: any, update: any) => {
|
||||
r._rowy_missingRequiredFields.length > 0) ||
|
||||
r._rowy_outOfOrder === true
|
||||
);
|
||||
|
||||
return _uniqBy([...localRows, ...snapshotDocs.map(doc2row)], "id");
|
||||
return _uniqBy([...localRows, ...snapshotDocs.map(doc2row)], "ref.path");
|
||||
|
||||
case "delete":
|
||||
return prevRows.filter((row) => update.rowId !== row.id);
|
||||
|
||||
Reference in New Issue
Block a user