diff --git a/src/pages/Worker/WorkerCreate.vue b/src/pages/Worker/WorkerCreate.vue index 7347417a9..9d962e450 100644 --- a/src/pages/Worker/WorkerCreate.vue +++ b/src/pages/Worker/WorkerCreate.vue @@ -56,7 +56,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;