Fix[InputBic]: Fixed filter #1701
|
@ -20,12 +20,12 @@ const autofillBic = async (iban) => {
|
||||||
|
|
||||||
if (ibanCountry != 'ES') return;
|
if (ibanCountry != 'ES') return;
|
||||||
|
|
||||||
const filter = { where: { id: bankEntityId.value } };
|
const filter = { where: { id: bankEntityId } };
|
||||||
const params = { filter: JSON.stringify(filter) };
|
const params = { filter: JSON.stringify(filter) };
|
||||||
|
|
||||||
const { data } = await axios.get(`BankEntities`, { params });
|
const { data } = await axios.get(`BankEntities`, { params });
|
||||||
|
|
||||||
emit('updateBic', data[0].id);
|
emit('updateBic', data[0]?.id);
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
|
|
Loading…
Reference in New Issue