Skip to content

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

fix: 14480 into master

Alaister Young3ce563177001
diff --git a/studio/state/sql-editor.ts b/studio/state/sql-editor.ts
index 067d9ab9370..49833b3d8f1 100644
--- a/studio/state/sql-editor.ts
+++ b/studio/state/sql-editor.ts
@@ -230,6 +230,8 @@ if (typeof window !== 'undefined') {
content: { ...snippet.snippet.content, content_id: id },
type: 'sql',
id,
+ name: snippet.snippet.name,
+ description: snippet.snippet.description,
})
sqlEditorState.needsSaving.delete(id)