fix: refs #6919 update model references
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jorge Penadés 2025-01-13 13:25:42 +01:00
parent 13490719c4
commit ae137e8244
4 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@ onBeforeMount(async () => {
.data;
if (!channel) channel = defaultChannel;
phone.value = await parsePhone(props.phoneNumber, props.country.toLowerCase());
phone.value = await parsePhone(props.phoneNumber, props.country?.toLowerCase());
config[
type
].url = `${url}?customerIdentity=%2B${phone.value}&channelId=${channel}`;

View File

@ -28,7 +28,7 @@ const getBankEntities = (data, formData) => {
</script>
<template>
<FormModel :url-update="`Clients/${route.params.id}`" auto-load model="customer">
<FormModel :url-update="`Clients/${route.params.id}`" auto-load model="Customer">
<template #form="{ data, validate }">
<VnRow>
<VnSelect

View File

@ -35,7 +35,7 @@ function handleLocation(data, location) {
<FormModel
:url-update="`Clients/${route.params.id}/updateFiscalData`"
auto-load
model="customer"
model="Customer"
>
<template #form="{ data, validate }">
<VnRow>

View File

@ -27,7 +27,7 @@ async function hasCustomerRole() {
<FormModel
:url-update="`Clients/${route.params.id}/updateUser`"
:filter="filter"
model="customer"
model="Customer"
:mapper="
({ account }) => {
const { name, email, active } = account;