Skip to content

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

Add cancel catch

Joshen Lim40fb73777ce5
diff --git a/studio/components/interfaces/TableGridEditor/TableGridEditor.tsx b/studio/components/interfaces/TableGridEditor/TableGridEditor.tsx
index 7e629d7fcda..c0983274273 100644
--- a/studio/components/interfaces/TableGridEditor/TableGridEditor.tsx
+++ b/studio/components/interfaces/TableGridEditor/TableGridEditor.tsx
@@ -66,7 +66,7 @@ const TableGridEditor: FC<Props> = ({
const getEncryptedColumns = async (table: any) => {
const columns = await vault.listEncryptedColumns(table.name)
- setEncryptedColumns(columns)
+ if (!cancel) setEncryptedColumns(columns)
}
if (selectedTable !== undefined) {