From ee00f7f5b5a9c8e2d87e70b559acc58914eb74e5 Mon Sep 17 00:00:00 2001 From: jorgep Date: Mon, 13 Jan 2025 16:25:15 +0100 Subject: [PATCH] fix: refs #6919 use same data-key --- src/components/CreateBankEntityForm.vue | 2 +- src/pages/Customer/components/CustomerSamplesCreate.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/CreateBankEntityForm.vue b/src/components/CreateBankEntityForm.vue index 2da3aa994..7c4b94a6a 100644 --- a/src/components/CreateBankEntityForm.vue +++ b/src/components/CreateBankEntityForm.vue @@ -14,7 +14,7 @@ const { t } = useI18n(); const bicInputRef = ref(null); const state = useState(); -const customer = computed(() => state.get('customer')); +const customer = computed(() => state.get('Customer')); const countriesFilter = { fields: ['id', 'name', 'code'], diff --git a/src/pages/Customer/components/CustomerSamplesCreate.vue b/src/pages/Customer/components/CustomerSamplesCreate.vue index 665e136e4..88eb24c45 100644 --- a/src/pages/Customer/components/CustomerSamplesCreate.vue +++ b/src/pages/Customer/components/CustomerSamplesCreate.vue @@ -39,7 +39,7 @@ const optionsSamplesVisible = ref([]); const sampleType = ref({ hasPreview: false }); const initialData = reactive({}); const entityId = computed(() => route.params.id); -const customer = computed(() => state.get('customer')); +const customer = computed(() => state.get('Customer')); const filterEmailUsers = { where: { userFk: user.value.id } }; const filterClientsAddresses = { include: [