Merge pull request 'Fix[InputBic]: Fixed filter' (!1701) from Fix-AutoFillBic into dev
gitea/salix-front/pipeline/head This commit looks good
Details
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:
commit
19481209d8
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue