fix: hotfix webAccess #1022

Merged
jsegarra merged 8 commits from hotfix-6943CustomerWebAccess into master 2024-11-29 12:31:01 +00:00
1 changed files with 4 additions and 4 deletions
Showing only changes of commit 514d54b222 - Show all commits

View File

@ -27,7 +27,7 @@ async function hasCustomerRole() {
<FormModel
:url-update="`Clients/${route.params.id}/updateUser`"
:filter="filter"
url="VnUsers/preview"
model="customer"
:mapper="
({ active, name, email }) => {
return {
@ -41,14 +41,14 @@ async function hasCustomerRole() {
auto-load
>
<template #form="{ data, validate }">
<QCheckbox :label="t('Enable web access')" v-model="data.active" />
<VnInput :label="t('User')" clearable v-model="data.name" />
<QCheckbox :label="t('Enable web access')" v-model="data.account.active" />
<VnInput :label="t('User')" clearable v-model="data.account.name" />

data.account.name

data.account.name
<VnInput
:label="t('Recovery email')"
:rules="validate('client.email')"
clearable
type="email"
v-model="data.email"
data.account.name
class="q-mt-sm"
:info="t('This email is used for user to regain access their account')"
/>