diff --git a/src/components/CreateBankEntityForm.vue b/src/components/CreateBankEntityForm.vue index 106dbec3a..0ad35490e 100644 --- a/src/components/CreateBankEntityForm.vue +++ b/src/components/CreateBankEntityForm.vue @@ -32,8 +32,8 @@ const countriesFilter = { const countriesOptions = ref([]); -const onDataSaved = (data) => { - emit('onDataSaved', data); +const onDataSaved = (formData, requestResponse) => { + emit('onDataSaved', formData, requestResponse); }; @@ -50,7 +50,7 @@ const onDataSaved = (data) => { :title="t('title')" :subtitle="t('subtitle')" :form-initial-data="bankEntityFormData" - @on-data-saved="onDataSaved($event)" + @on-data-saved="onDataSaved" >