Merge pull request 'Fix[InputBic]: Fixed filter' (!1701) from Fix-AutoFillBic into dev
gitea/salix-front/pipeline/head This commit looks good Details

Reviewed-on: #1701
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Jon Elias 2025-04-11 11:38:41 +00:00
commit 19481209d8
1 changed files with 2 additions and 2 deletions

View File

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