Skip to content

Commit

Permalink
Improved: removed duplicate field in fieldList of fetchFacilityContac…
Browse files Browse the repository at this point in the history
…tDetails action and postalAddress deletion (#337)
  • Loading branch information
R-Sourabh committed Dec 18, 2024
1 parent fee9ed7 commit e9a54fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/store/modules/facility/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ const actions: ActionTree<FacilityState, RootState> = {
entityName: "FacilityContactDetailByPurpose",
orderBy: 'fromDate DESC',
filterByDate: 'Y',
fieldList: ['address1', 'address2', 'city', 'contactMechId', 'contactMechId', 'contactMechTypeId', 'contactNumber', 'countryCode', 'countryGeoId', 'countryGeoName', 'infoString', 'latitude', 'longitude', 'postalCode', 'stateGeoId', 'stateGeoName', 'toName'],
fieldList: ['address1', 'address2', 'city', 'contactMechId', 'contactMechTypeId', 'contactNumber', 'countryCode', 'countryGeoId', 'countryGeoName', 'infoString', 'latitude', 'longitude', 'postalCode', 'stateGeoId', 'stateGeoName', 'toName'],
viewSize: 3
}

Expand All @@ -257,7 +257,6 @@ const actions: ActionTree<FacilityState, RootState> = {
...item,
stateProvinceGeoId: item.stateGeoId
}
delete postalAddress.stateGeoId
} else if (item.contactMechTypeId === 'TELECOM_NUMBER') {
contactDetails.telecomNumber = {
contactMechId: item.contactMechId,
Expand Down

0 comments on commit e9a54fb

Please sign in to comment.