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)" @on-fetch="(data) => (warehouses = data)"
auto-load auto-load
/> />
<FormModel :update-url="`Agencies/${routeId}`" model="Agency" auto-load> <FormModel :url-update="`Agencies/${routeId}`" model="Agency" auto-load>
<template #form="{ data }"> <template #form="{ data }">
<VnRow> <VnRow>
<VnInput v-model="data.name" :label="t('globals.name')" /> <VnInput v-model="data.name" :label="t('globals.name')" />

View File

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