fix(CustomerWebAccess): hotFix use .account to save
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2024-12-04 11:32:19 +01:00
parent 32a17738eb
commit 6b28f39720
1 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,8 @@ async function hasCustomerRole() {
:filter="filter"
model="customer"
:mapper="
({ active, name, email }) => {
({ account }) => {
const { name, email, active } = account;
return {
active,
name,