diff --git a/src/components/CreateBankEntityForm.vue b/src/components/CreateBankEntityForm.vue index 0cd5d6b17..f4f5fef7d 100644 --- a/src/components/CreateBankEntityForm.vue +++ b/src/components/CreateBankEntityForm.vue @@ -4,8 +4,8 @@ import { useI18n } from 'vue-i18n'; import VnSelectFilter from 'src/components/common/VnSelectFilter.vue'; import FetchData from 'components/FetchData.vue'; -import FormModel from 'components/FormModel.vue'; import VnRow from 'components/ui/VnRow.vue'; +import FormModelPopup from './FormModelPopup.vue'; const emit = defineEmits(['onDataSaved']); @@ -22,41 +22,29 @@ const countriesFilter = { fields: ['id', 'country', 'code'], }; -const closeButton = ref(null); const countriesOptions = ref([]); -const loading = ref(false); const onDataSaved = (data) => { emit('onDataSaved', data); - closeForm(); -}; - -const closeForm = () => { - if (closeButton.value) closeButton.value.click(); };