closes #4834 create-worker-module #28
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue