From f5f47f4994272d8bdfd3a9181cde45037d41e26c Mon Sep 17 00:00:00 2001 From: Pau Navarro Date: Tue, 22 Nov 2022 14:35:40 +0100 Subject: [PATCH] add worker img --- src/pages/Worker/Card/WorkerDescriptor.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pages/Worker/Card/WorkerDescriptor.vue b/src/pages/Worker/Card/WorkerDescriptor.vue index 3fa7af4b2..1f9820524 100644 --- a/src/pages/Worker/Card/WorkerDescriptor.vue +++ b/src/pages/Worker/Card/WorkerDescriptor.vue @@ -65,10 +65,15 @@ function sipExtension() { if (worker.value.sip) return worker.value.sip.extension; return '-'; } + +function getWorkerAvatar() { + return `/api/Images/user/160x160/${worker.value.user.id}/download`; +}