Skip to content

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

fix: refetch entity on save column

Alaister Youngfddf25f2390d
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.tsx
index 99ce84b03f4..64b3bdf0b9f 100644
--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.tsx
+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.tsx
@@ -269,6 +269,7 @@ const SidePanelEditor = ({
queryClient.invalidateQueries(
sqlKeys.query(project?.ref, [selectedTable!.schema, selectedTable!.name])
),
+ queryClient.invalidateQueries(entityTypeKeys.list(project?.ref)),
])
onColumnSaved(configuration.isEncrypted)
setIsEdited(false)