diff --git a/src/atoms/tableScope/rowActions.ts b/src/atoms/tableScope/rowActions.ts index f6d62f7d..add6af4f 100644 --- a/src/atoms/tableScope/rowActions.ts +++ b/src/atoms/tableScope/rowActions.ts @@ -213,7 +213,9 @@ export const deleteRowAtom = atom( find(tableRowsLocal, ["_rowy_ref.path", path]) ); if (isLocalRow) set(tableRowsLocalAtom, { type: "delete", path }); - else await deleteRowDb(path); + + // Always delete from db in case it exists + await deleteRowDb(path); if (auditChange) auditChange("DELETE_ROW", path); };