mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 03:12:15 +00: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:
@@ -3060,6 +3060,8 @@ export default defineComponent({
|
|||||||
|
|
||||||
const promptResponse = (await promptResponsePromise) as MessageBoxInputData;
|
const promptResponse = (await promptResponsePromise) as MessageBoxInputData;
|
||||||
|
|
||||||
|
if (promptResponse?.action !== MODAL_CONFIRM) return;
|
||||||
|
|
||||||
await this.renameNode(currentName, promptResponse.value, true);
|
await this.renameNode(currentName, promptResponse.value, true);
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user