diff --git a/src/pages/Worker/Card/WorkerDescriptor.vue b/src/pages/Worker/Card/WorkerDescriptor.vue index 27c15b6fb..ad23f732b 100644 --- a/src/pages/Worker/Card/WorkerDescriptor.vue +++ b/src/pages/Worker/Card/WorkerDescriptor.vue @@ -80,45 +80,30 @@ function getWorkerAvatar() { - - - {{ t('worker.card.name') }} {{ worker.user.nickname }} - - - {{ t('worker.card.email') }} {{ worker.user.email }} - - - {{ t('worker.list.department') }} {{ worker.department.department.name }} - - - {{ t('worker.card.phone') }} {{ worker.phone }} - - - {{ t('worker.summary.sipExtension') }} {{ sipExtension() }} diff --git a/src/pages/Worker/Card/WorkerSummary.vue b/src/pages/Worker/Card/WorkerSummary.vue index fdf6cf9d9..1172c99b8 100644 --- a/src/pages/Worker/Card/WorkerSummary.vue +++ b/src/pages/Worker/Card/WorkerSummary.vue @@ -3,7 +3,6 @@ import { ref, onMounted, computed, onUpdated } from 'vue'; import { useRoute } from 'vue-router'; import { useI18n } from 'vue-i18n'; import { useQuasar } from 'quasar'; -import { useSession } from 'src/composables/useSession'; import axios from 'axios'; import workerDescriptorDialog from './WorkerDescriptorDialog.vue'; @@ -14,7 +13,6 @@ onUpdated(() => fetch()); const route = useRoute(); const { t } = useI18n(); const quasar = useQuasar(); -const { getToken } = useSession(); t == t; @@ -86,11 +84,6 @@ function openDescriptorDialog(id) { }, }); } - -function getWorkerAvatar() { - const token = getToken(); - return `/api/Images/user/160x160/${worker.value.boss.id}/download?access_token=${token}`; -}