From 1e77e827842862db4657ae021cf70887980faae9 Mon Sep 17 00:00:00 2001 From: jorgep Date: Mon, 15 Apr 2024 13:28:10 +0200 Subject: [PATCH] fix: refs #6938 id filter --- src/pages/Worker/Card/WorkerSummary.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/Worker/Card/WorkerSummary.vue b/src/pages/Worker/Card/WorkerSummary.vue index b24476e4f..16c7f0f08 100644 --- a/src/pages/Worker/Card/WorkerSummary.vue +++ b/src/pages/Worker/Card/WorkerSummary.vue @@ -10,7 +10,7 @@ import CardSummary from 'components/ui/CardSummary.vue'; import VnUserLink from 'src/components/ui/VnUserLink.vue'; import VnTitle from 'src/components/common/VnTitle.vue'; -const {params} = useRoute(); +const { params } = useRoute(); const { t } = useI18n(); const $props = defineProps({ @@ -27,11 +27,11 @@ onMounted(async () => { workerUrl.value = (await getUrl('')) + `worker/${entityId.value}/`; }); -const filter = {where: {id: params.id}}; +const filter = { where: { id: entityId.value } };