Skip to content

Commit

Permalink
fix: set the flowEditor docId on new
Browse files Browse the repository at this point in the history
  • Loading branch information
elevatebart committed Jan 6, 2025
1 parent d67d44b commit 869c687
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ui/src/components/flows/FlowEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@
...mapState("flow", ["flow", "flowGraph"]),
...mapGetters("flow", ["flowValidation"]),
},
mounted() {
this.$store.commit("doc/setDocId", "flowEditor");
},
beforeUnmount() {
this.$store.commit("flow/setFlowValidation", undefined);
},
Expand Down
3 changes: 3 additions & 0 deletions ui/src/components/inputs/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@
taskType: undefined,
};
},
mounted() {
this.$store.commit("doc/setDocId", "flowEditor");
},
computed: {
...mapGetters("core", ["guidedProperties"]),
...mapGetters("flow", ["flowValidation"]),
Expand Down

0 comments on commit 869c687

Please sign in to comment.