Skip to content

Commit

Permalink
fix(ui): pass flow id as parameter for dashboard (#6194)
Browse files Browse the repository at this point in the history
  • Loading branch information
MilosPaunovic authored and brian-mulier-p committed Nov 29, 2024
1 parent 895bc26 commit f3a204b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ui/src/components/dashboard/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -519,19 +519,20 @@
});
onBeforeMount(() => {
handleCustomUpdate(route.params?.id ? {id: route.params?.id} : undefined);
if (props.flowID) {
router.replace({query: {...route.query, flowId: props.flowID}});
}
handleCustomUpdate(route.params?.id ? {id: route.params?.id} : undefined);
// if (!route.query.namespace && props.restoreURL) {
// router.replace({query: {...route.query, namespace: defaultNamespace}});
// filters.value.namespace = route.query.namespace || defaultNamespace;
// }
// else {
// filters.value.namespace = null
// }
// updateParams(route.query);
});
Expand Down

0 comments on commit f3a204b

Please sign in to comment.