diff --git a/src/components/FacilityAddressModal.vue b/src/components/FacilityAddressModal.vue index be3f908b..dcb7703d 100644 --- a/src/components/FacilityAddressModal.vue +++ b/src/components/FacilityAddressModal.vue @@ -32,7 +32,6 @@ {{ translate("State") }} - {{ address.countryGeoId }} {{ state.geoName }} diff --git a/src/components/FacilityGeoPointModal.vue b/src/components/FacilityGeoPointModal.vue index 4951a6bb..f5d7dc19 100644 --- a/src/components/FacilityGeoPointModal.vue +++ b/src/components/FacilityGeoPointModal.vue @@ -134,7 +134,7 @@ export default defineComponent({ } try { - resp = await FacilityService.updateFacilityPostalAddress({...payload}) + resp = await FacilityService.updateFacilityPostalAddress(payload) if(!hasError(resp)) { showToast(translate("Facility latitude & longitude updated successfully.")) diff --git a/src/store/modules/util/actions.ts b/src/store/modules/util/actions.ts index c086f942..12881098 100644 --- a/src/store/modules/util/actions.ts +++ b/src/store/modules/util/actions.ts @@ -107,6 +107,7 @@ const actions: ActionTree = { geoIdTo: "DBIC" }, entityName: 'GeoAssocAndGeoFrom', + fieldList: ['geoName', 'geoId'], noConditionFind: 'Y', } as any @@ -138,6 +139,7 @@ const actions: ActionTree = { geoIdFrom: payload.geoId }, entityName: 'GeoAssocAndGeoTo', + fieldList: ['geoName', 'geoId'], noConditionFind: 'Y', viewSize: 100 } as any @@ -147,6 +149,7 @@ const actions: ActionTree = { if(!hasError(resp)) { states = resp.data.docs + } else { throw resp.data }