closes #4834 create-worker-module #28

Merged
joan merged 27 commits from 4834-create-worker-module into dev 2023-03-08 09:54:59 +00:00
1 changed files with 5 additions and 0 deletions
Showing only changes of commit f5f47f4994 - Show all commits

View File

@ -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`;
}
</script>
<template>
<card-descriptor v-if="worker" module="Worker" :data="worker" :description="worker.user.nickname">
<template #body>
<q-img :src="getWorkerAvatar()" class="q-mb-md" style="width: 100px; height: 100px" />
<q-list>
<q-item>
<q-item-section side>