From d2996f083857201ac3ae2d2348fdef9c081fd13b Mon Sep 17 00:00:00 2001 From: jorgep Date: Wed, 25 Sep 2024 12:23:41 +0200 Subject: [PATCH] fix: refs #6943 prevent null --- src/components/CreateBankEntityForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CreateBankEntityForm.vue b/src/components/CreateBankEntityForm.vue index 1117225c7..0a3c10f57 100644 --- a/src/components/CreateBankEntityForm.vue +++ b/src/components/CreateBankEntityForm.vue @@ -21,7 +21,7 @@ const customer = computed(() => state.get('customer')); const bankEntityFormData = reactive({ name: null, bic: null, - countryFk: customer.value.countryFk, + countryFk: customer.value?.countryFk, id: null, }); -- 2.40.1