fix(ui): Escape on the chat rename dialog closes the dialog only

This commit is contained in:
sam committed 2026-11-13 13:30:19 +11:00
1 parent 73e32f016a
commit e389e1a21e
1 file changed
+2
+2
View File
@@ -82,6 +82,8 @@ async function copyMarkdown(): Promise<void> {
// Rename and branch ask for a value in a labelled dialog, not window.prompt.
const promptOpen = ref(false);
// The dialog owns Escape while open, so closing it leaves the dock open.
useEscapeLayer(promptOpen);
const promptCommand = ref("");
const promptMessage = ref("");
const promptValue = ref("");