Skip to content

Commit

Permalink
Added: address and city of the pickup stores
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandesh3003 committed Jun 20, 2024
1 parent af25c7b commit ca7f332
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/views/PickupLocationModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@
<ion-radio-group v-model="selectedFacility">
<ion-item v-for="store of nearbyStores" :key="store.facilityId">
<ion-radio :value="store">
<ion-label>{{ store.facilityName }}</ion-label>
<ion-label>
{{ store.facilityName }}
<p>{{ store.address1 }}{{ store.address2 }}
{{ store.city }}
</p>
</ion-label>
<!-- Showing store distance in miles -->
<ion-label v-if="store.distance">{{ store.distance }} {{ $t("mi") }}</ion-label>
</ion-radio>
Expand Down Expand Up @@ -125,7 +130,7 @@ export default defineComponent({
async getStores(point?: string) {
let payload = {
"viewSize": process.env.VUE_APP_VIEW_SIZE,
"filters": ["storeType: RETAIL_STORE", "pickup_pref: true"]
"filters": ["storeType: RETAIL_STORE"]
} as any
if (point) {
Expand Down

0 comments on commit ca7f332

Please sign in to comment.