Skip to content

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

fix(editor): close previous and next page modals on confirm (#40843)

Marouane Souda4bfe7d048006
diff --git a/apps/studio/components/grid/components/footer/pagination/Pagination.tsx b/apps/studio/components/grid/components/footer/pagination/Pagination.tsx
index e6ea4edb63b..697f7ebeae7 100644
--- a/apps/studio/components/grid/components/footer/pagination/Pagination.tsx
+++ b/apps/studio/components/grid/components/footer/pagination/Pagination.tsx
@@ -129,6 +129,7 @@ export const Pagination = ({ enableForeignRowsQuery = true }: PaginationProps) =
const onConfirmPreviousPage = () => {
goToPreviousPage()
+ setIsConfirmPreviousModalOpen(false)
}
const onNextPage = () => {
@@ -143,6 +144,7 @@ export const Pagination = ({ enableForeignRowsQuery = true }: PaginationProps) =
const onConfirmNextPage = () => {
goToNextPage()
+ setIsConfirmNextModalOpen(false)
}
const goToPreviousPage = () => {