Skip to content

Commit

Permalink
Improved: Display Product Store ID instead of Store Name when Store N…
Browse files Browse the repository at this point in the history
…ame is not present on Add Store Configuration in ProductStore Popover during facility creation flow(hotwax#323).
  • Loading branch information
priyanshee1604 committed Jan 22, 2025
1 parent ebbe476 commit c1f10f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/AddFacilityConfig.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<ion-popover trigger="product-store-actions-trigger" showBackdrop="false" dismissOnSelect="true">
<ion-content>
<ion-list>
<ion-list-header>{{ getProductStore(store.productStoreId).storeName }}</ion-list-header>
<ion-list-header>{{ getProductStore(store.productStoreId).storeName || store.productStoreId }}</ion-list-header>
<ion-item button @click="updatePrimaryFacilityGroupId(store.productStoreId)">
{{ translate("Primary") }}
<ion-icon slot="end" :color="store.productStoreId === primaryFacilityGroupId ? 'warning' : ''" :icon="store.productStoreId === primaryFacilityGroupId ? star : starOutline" />
Expand Down

0 comments on commit c1f10f5

Please sign in to comment.