diff --git a/src/components/ui/CardDescriptor.vue b/src/components/ui/CardDescriptor.vue index 3f1f0a00c..2bb5234ad 100644 --- a/src/components/ui/CardDescriptor.vue +++ b/src/components/ui/CardDescriptor.vue @@ -93,13 +93,36 @@ function getValueFromPath(path) { } const emit = defineEmits(['onFetch']); + +const iconModule = computed(() => route.matched[1].meta.icon); +const toModule = computed(() => + route.matched[1].path.split('/').length > 2 + ? route.matched[1].redirect + : route.matched[1].children[0].redirect +);