From 3ce563177001663a68ebbd2e5603f4390b30f62e Mon Sep 17 00:00:00 2001 From: Alaister Young Date: Sat, 20 May 2023 22:39:45 +1000 Subject: [PATCH] fix: 14480 into master --- studio/state/sql-editor.ts | 2 ++ 1 file changed, 2 insertions(+) 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)