Skip to content

Commit

Permalink
fix(ui): route was null in NamespaceDependenciesWrapper in production…
Browse files Browse the repository at this point in the history
… build

closes kestra-io/kestra-ee#1764
  • Loading branch information
brian-mulier-p committed Sep 20, 2024
1 parent 2cf9104 commit 1f2c87a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions ui/src/components/namespace/NamespaceDependenciesWrapper.vue
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
<template>
<NamespaceDependencies :namespace="namespace" />
<NamespaceDependencies :namespace="$route.params.id" />
</template>

<script setup>
import {computed} from "vue";
import {useRoute} from "vue-router";
const route = useRoute();
const namespace = computed(() => route.params.id);
import NamespaceDependencies from "./NamespaceDependencies.vue";
</script>

0 comments on commit 1f2c87a

Please sign in to comment.