0
0
Fork 0

Merge pull request 'fix: refs #7323 show user name' (!701) from 7323-hotfix-showUserName into master

Reviewed-on: verdnatura/salix-front#701
Reviewed-by: Carlos Satorres <carlossa@verdnatura.es>
This commit is contained in:
Jorge Penadés 2024-09-12 07:44:15 +00:00
commit e10ab5863a
3 changed files with 3 additions and 1 deletions

View File

@ -834,6 +834,7 @@ worker:
newWorker: New worker newWorker: New worker
card: card:
workerId: Worker ID workerId: Worker ID
user: User
name: Name name: Name
email: Email email: Email
phone: Phone phone: Phone

View File

@ -837,6 +837,7 @@ worker:
newWorker: Nuevo trabajador newWorker: Nuevo trabajador
card: card:
workerId: ID Trabajador workerId: ID Trabajador
user: Usuario
name: Nombre name: Nombre
email: Correo personal email: Correo personal
phone: Teléfono phone: Teléfono

View File

@ -197,7 +197,7 @@ const refetch = async () => await cardDescriptorRef.value.getData();
</div> </div>
</template> </template>
<template #body="{ entity }"> <template #body="{ entity }">
<VnLv :label="t('worker.card.name')" :value="entity.user?.nickname" /> <VnLv :label="t('worker.card.user')" :value="entity.user?.name" />
<VnLv :label="t('worker.card.email')" :value="entity.user?.email" copy /> <VnLv :label="t('worker.card.email')" :value="entity.user?.email" copy />
<VnLv <VnLv
:label="t('worker.list.department')" :label="t('worker.list.department')"