From d80de4410d4378fa93e0754a500c7d027f7a6f4b Mon Sep 17 00:00:00 2001 From: Florian Hussonnois Date: Thu, 30 Jan 2025 13:12:01 +0100 Subject: [PATCH] fix(ui): fix missing param kind for blueprint in flow editor (#7087) fix: #7087 --- ui/src/override/components/flows/blueprints/Blueprints.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/src/override/components/flows/blueprints/Blueprints.vue b/ui/src/override/components/flows/blueprints/Blueprints.vue index 3f40ad7c6ff..b593b216078 100644 --- a/ui/src/override/components/flows/blueprints/Blueprints.vue +++ b/ui/src/override/components/flows/blueprints/Blueprints.vue @@ -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() {