0
0
Fork 0

Merge pull request '6914-fixWorkerCreateErrors' (!380) from 6914-fixWorkerCreateErrors into dev

Reviewed-on: verdnatura/salix-front#380
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Carlos Satorres 2024-05-17 11:18:31 +00:00
commit 2c41c31b6f
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ const onBankEntityCreated = (data) => {
}; };
function handleLocation(data, location) { function handleLocation(data, location) {
const { town, postcode: code, provinceFk, countryFk } = location ?? {}; const { town, code, provinceFk, countryFk } = location ?? {};
data.postcode = code; data.postcode = code;
data.city = town; data.city = town;
data.provinceFk = provinceFk; data.provinceFk = provinceFk;