fix: refs #8616 update FormModel prop from 'update-url' to 'url-update' in Agency and RoadMap BasicData
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jose Antonio Tubau 2025-02-27 10:18:52 +01:00
parent acc254d298
commit 04a3209da9
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ const warehouses = ref([]);
@on-fetch="(data) => (warehouses = data)"
auto-load
/>
<FormModel :update-url="`Agencies/${routeId}`" model="Agency" auto-load>
<FormModel :url-update="`Agencies/${routeId}`" model="Agency" auto-load>
<template #form="{ data }">
<VnRow>
<VnInput v-model="data.name" :label="t('globals.name')" />

View File

@ -17,7 +17,7 @@ const onSave = (data, response) => {
</script>
<template>
<FormModel
:update-url="`Roadmaps/${$route.params?.id}`"
:url-update="`Roadmaps/${$route.params?.id}`"
:url="`Roadmaps/${$route.params?.id}`"
observe-form-changes
model="Roadmap"