diff --git a/src/pages/Worker/WorkerCreate.vue b/src/pages/Worker/WorkerCreate.vue index 85259c043..5d1d601ff 100644 --- a/src/pages/Worker/WorkerCreate.vue +++ b/src/pages/Worker/WorkerCreate.vue @@ -57,7 +57,7 @@ const onBankEntityCreated = (data) => { }; function handleLocation(data, location) { - const { town, postcode: code, provinceFk, countryFk } = location ?? {}; + const { town, code, provinceFk, countryFk } = location ?? {}; data.postcode = code; data.city = town; data.provinceFk = provinceFk;