Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: table editor deleting and pagination bug

gitstartdafb35b573ac
diff --git a/studio/components/grid/store/reducers/row.ts b/studio/components/grid/store/reducers/row.ts
index d8adbb90f5d..b84f8a760d8 100644
--- a/studio/components/grid/store/reducers/row.ts
+++ b/studio/components/grid/store/reducers/row.ts
@@ -142,6 +142,7 @@ const RowReducer = (state: RowInitialState, action: ROW_ACTIONTYPE) => {
...state,
rows: state.rows.filter((x) => !action.payload.rowIdxs.includes(x.idx)),
totalRows: totalRows,
+ refreshPageFlag: Number(state.totalRows > state.page),
}
}
case 'REMOVE_ALL_ROWS': {