Skip to content

Commit

Permalink
fix(ui): properly load flows for editor
Browse files Browse the repository at this point in the history
  • Loading branch information
MilosPaunovic committed Jul 23, 2024
1 parent cf93be4 commit 439cf2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/inputs/MonacoEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
this.initMonaco(monaco)
})
if (!this.monacoYamlConfigured && this.currentTab?.flow) {
if (!this.monacoYamlConfigured && (this.creating || this.currentTab?.flow)) {
this.$store.commit("core/setMonacoYamlConfigured", true);
configureMonacoYaml(monaco, {
enableSchemaRequest: true,
Expand Down

0 comments on commit 439cf2e

Please sign in to comment.