mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(editor): Fix an issue with connections breaking during renaming (#6358)
* fix(editor): Fix an issue where dragging during when rename modal active would break workflow connections * Use enum to check for confirm state of modal
This commit is contained in:
parent
23e49c53ed
commit
0f2bc6b737
|
@ -3060,6 +3060,8 @@ export default defineComponent({
|
|||
|
||||
const promptResponse = (await promptResponsePromise) as MessageBoxInputData;
|
||||
|
||||
if (promptResponse?.action !== MODAL_CONFIRM) return;
|
||||
|
||||
await this.renameNode(currentName, promptResponse.value, true);
|
||||
} catch (e) {}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue