Skip to content

Commit

Permalink
Merge pull request #334 from ymaheshwari1/#323
Browse files Browse the repository at this point in the history
Improved: case to display productStoreId when name for the productStore is missing(#323)
  • Loading branch information
ymaheshwari1 authored Nov 20, 2024
2 parents 5fff35e + 3f337d4 commit 05c8ad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/FacilityDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
</ion-button>
</ion-card-header>
<ion-item v-for="store in facilityProductStores" :key="store.productStoreId">
<ion-label>{{ getProductStore(store.productStoreId)?.storeName }}</ion-label>
<ion-label>{{ getProductStore(store.productStoreId)?.storeName || store.productStoreId }}</ion-label>
<ion-badge slot="end" v-if="shopifyShopIdForProductStore(store.productStoreId) !== '' && shopifyShopIdForProductStore(store.productStoreId) === current.primaryFacilityGroupId">{{ translate("primary store") }}</ion-badge>
<ion-button slot="end" fill="clear" color="medium" @click="productStorePopover($event, store)">
<ion-icon slot="icon-only" :icon="ellipsisVerticalOutline" />
Expand Down

0 comments on commit 05c8ad8

Please sign in to comment.