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 authored and krynble committed Jun 5, 2023
1 parent 5f62e27 commit 1502a22
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 @@ -3044,6 +3044,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 1502a22

Please sign in to comment.