The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: updated snippet values so they store the generated name in the side bar (#41665)
Ali Waseem4d8414400e43
diff --git a/apps/studio/components/interfaces/SQLEditor/SQLEditor.tsx b/apps/studio/components/interfaces/SQLEditor/SQLEditor.tsxindex 80897fab857..08a86c5c4ef 100644--- a/apps/studio/components/interfaces/SQLEditor/SQLEditor.tsx+++ b/apps/studio/components/interfaces/SQLEditor/SQLEditor.tsx@@ -231,7 +231,8 @@ export const SQLEditor = () => {async (id: string, sql: string) => {try {const { title: name } = await generateSqlTitle({ sql })- snapV2.renameSnippet({ id, name })+ snapV2.updateSnippet({ id, snippet: { name } })+ snapV2.addNeedsSaving(id)const tabId = createTabId('sql', { id })tabs.updateTab(tabId, { label: name })} catch (error) {