0
0
Fork 0

Merge pull request 'Show username instead name' (!634) from hotfix_account_descriptor into master

Reviewed-on: verdnatura/salix-front#634
Reviewed-by: Guillermo Bonet <guillermo@verdnatura.es>
This commit is contained in:
Javier Segarra 2024-08-21 12:01:50 +00:00
commit ed3b604c76
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ const hasAccount = ref(false);
</VnImg>
</template>
<template #body="{ entity }">
<VnLv :label="t('account.card.nickname')" :value="entity.nickname" />
<VnLv :label="t('account.card.nickname')" :value="entity.name" />
<VnLv :label="t('account.card.role')" :value="entity.role.name" />
</template>
<template #actions="{ entity }">

View File

@ -48,7 +48,7 @@ const filter = {
<QIcon name="open_in_new" />
</router-link>
</QCardSection>
<VnLv :label="t('account.card.nickname')" :value="account.nickname" />
<VnLv :label="t('account.card.nickname')" :value="account.name" />
<VnLv :label="t('account.card.role')" :value="account.role.name" />
</QCard>
</template>