diff --git a/src/components/ui/CardSummary.vue b/src/components/ui/CardSummary.vue index cab5b98be..ceff9028a 100644 --- a/src/components/ui/CardSummary.vue +++ b/src/components/ui/CardSummary.vue @@ -22,6 +22,10 @@ const props = defineProps({ type: String, default: '', }, + moduleName: { + type: String, + default: null, + }, }); const emit = defineEmits(['onFetch']); const route = useRoute(); @@ -83,7 +87,7 @@ function existSummary(routes) { v-if="showRedirectToSummaryIcon" class="header link" :to="{ - name: `${route.meta.moduleName}Summary`, + name: `${moduleName ?? route.meta.moduleName}Summary`, params: { id: entityId || entity.id }, }" > diff --git a/src/pages/Department/Card/DepartmentDescriptorProxy.vue b/src/pages/Department/Card/DepartmentDescriptorProxy.vue index 07a6b6af1..5b556f655 100644 --- a/src/pages/Department/Card/DepartmentDescriptorProxy.vue +++ b/src/pages/Department/Card/DepartmentDescriptorProxy.vue @@ -1,6 +1,6 @@