diff --git a/src/components/FormModel.vue b/src/components/FormModel.vue index 62993ef24..e683ce735 100644 --- a/src/components/FormModel.vue +++ b/src/components/FormModel.vue @@ -58,7 +58,7 @@ const $props = defineProps({ mapper: { type: Function, default: null, - } + }, }); const emit = defineEmits(['onFetch', 'onDataSaved']); @@ -129,7 +129,7 @@ async function save() { isLoading.value = true; try { - const body = $props.mapper ? $props.mapper(formData.value) : formData.value + const body = $props.mapper ? $props.mapper(formData.value) : formData.value; if ($props.urlCreate) { await axios.post($props.urlCreate, body); notify('globals.dataCreated', 'positive'); @@ -179,11 +179,14 @@ watch(formUrl, async () => { }); - - -es: - Search worker: Buscar trabajador - You can search by worker id or name: Puedes buscar por id o nombre del trabajador -