fix(ui): Escape on the chat rename dialog closes the dialog only
This commit is contained in:
1 file changed
+2
@@ -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("");
|
||||
|
||||
Reference in new issue
Block a user