Skip to content

Commit

Permalink
fix(editor): Fix an issue with connections breaking during renaming (#…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
OlegIvaniv committed Jun 1, 2023
1 parent 23e49c5 commit 0f2bc6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/editor-ui/src/views/NodeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
},
Expand Down

0 comments on commit 0f2bc6b

Please sign in to comment.