The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: sql editor folder name editing (#28913)
Alaister Young7978d8510dcd
diff --git a/apps/studio/components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorTreeViewItem.tsx b/apps/studio/components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorTreeViewItem.tsxindex 74dadfe3d32..214020bd91b 100644--- a/apps/studio/components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorTreeViewItem.tsx+++ b/apps/studio/components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorTreeViewItem.tsx@@ -125,6 +125,12 @@ export const SQLEditorTreeViewItem = ({router.push(`/project/${ref}/sql/${element.id}`)}} else {+ // Prevent expanding folder while editing text+ // as the user may double click to select etc+ if (isEditing) {+ return+ }+onClick(e)if (!isExpanded) onOpenFolder(element.id)}