Skip to content

Commit

Permalink
fix(ui): allow editor view switching on flow creation (#4164)
Browse files Browse the repository at this point in the history
  • Loading branch information
MilosPaunovic authored Jun 28, 2024
1 parent ad12509 commit 06259d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/inputs/SwitchView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
currentTab: (state) => state.editor.current
}),
isFlow(){
return this.currentTab?.name === "Flow"
return !this.currentTab || this.currentTab.name === "Flow"
}
},
methods: {
Expand Down

0 comments on commit 06259d8

Please sign in to comment.