diff --git a/src/components/CreateThermographForm.vue b/src/components/CreateThermographForm.vue index 65a1c2679..0b7e4c5c6 100644 --- a/src/components/CreateThermographForm.vue +++ b/src/components/CreateThermographForm.vue @@ -50,7 +50,7 @@ const onDataSaved = (dataSaved) => { model="thermograph" :title="t('New thermograph')" :form-initial-data="thermographFormData" - @on-data-saved="onDataSaved($event)" + @on-data-saved="(_, response) => onDataSaved(response)" > - -es: - Select files: Selecciona ficheros - Thermograph created: Termógrafo creado - New thermograph: Nuevo termógrafo - + es: + Select files: Selecciona ficheros + Thermograph created: Termógrafo creado + New thermograph: Nuevo termógrafo +