Skip to content

Commit

Permalink
fix(ui): fix missing param kind for blueprint in flow editor (#7087)
Browse files Browse the repository at this point in the history
fix: #7087
  • Loading branch information
fhussonnois committed Jan 30, 2025
1 parent e1a4f2e commit 152aac5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/src/override/components/flows/blueprints/Blueprints.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@
}
},
mounted(){
if(!this.$route?.params?.tab) this.$router.push({name: "blueprints", params: {tab: "community"}})
if(!this.embed && !this.$route?.params?.tab) {
this.$router.push({name: "blueprints", params: {tab: "community", kind: this.kind}})
}
},
computed: {
routeInfo() {
Expand Down

0 comments on commit 152aac5

Please sign in to comment.