forked from verdnatura/salix-front
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:
commit
2c41c31b6f
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue