From 3fafb15eb8cd0da28757a9d1a20a5518b021824e Mon Sep 17 00:00:00 2001 From: jorgep Date: Tue, 10 Sep 2024 09:18:57 +0200 Subject: [PATCH] refactor: refs #4074 use fn --- src/pages/Item/Card/ItemSummary.vue | 18 ++++++++---------- .../cypress/integration/outLogin/login.spec.js | 2 +- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/src/pages/Item/Card/ItemSummary.vue b/src/pages/Item/Card/ItemSummary.vue index 081eb2afb..7b6015c30 100644 --- a/src/pages/Item/Card/ItemSummary.vue +++ b/src/pages/Item/Card/ItemSummary.vue @@ -20,6 +20,7 @@ const route = useRoute(); const { t } = useI18n(); const entityId = computed(() => $props.id || route.params.id); +const getUrl = (id, param) => `#/Item/${id}/${param}`;