From 9eab901be4d5e3b65e4db551b6360b3159ef28bd Mon Sep 17 00:00:00 2001 From: Kevin Martinez Date: Mon, 11 Dec 2023 10:52:10 -0400 Subject: [PATCH] Fix worker descriptor image --- src/pages/Worker/Card/WorkerDescriptor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Worker/Card/WorkerDescriptor.vue b/src/pages/Worker/Card/WorkerDescriptor.vue index 0dc42f820..5a8f4f076 100644 --- a/src/pages/Worker/Card/WorkerDescriptor.vue +++ b/src/pages/Worker/Card/WorkerDescriptor.vue @@ -51,7 +51,7 @@ const sip = computed(() => worker.value?.sip && worker.value.sip.extension); function getWorkerAvatar() { const token = getToken(); - return `/api/Images/user/160x160/${route.params.id}/download?access_token=${token}`; + return `/api/Images/user/160x160/${entityId.value}/download?access_token=${token}`; } const data = ref(useCardDescription()); const setData = (entity) => {