Skip to content

Commit

Permalink
Improved: productStore is disabled for users without credentials(hotw…
Browse files Browse the repository at this point in the history
  • Loading branch information
R-Sourabh committed Apr 10, 2024
1 parent 0fef840 commit b917544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/UserDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@
</ion-card-content>
<ion-list>
<ion-item>
<ion-select :label="translate('Product store')" interface="popover" :value="selectedUser.favoriteProductStorePref?.userPrefValue ? selectedUser.favoriteProductStorePref?.userPrefValue : ''" @ionChange="updateFavoriteProductStore($event)">
<ion-select :label="translate('Product store')" interface="popover" :value="selectedUser.favoriteProductStorePref?.userPrefValue ? selectedUser.favoriteProductStorePref?.userPrefValue : ''" @ionChange="updateFavoriteProductStore($event)" :disabled="selectedUser?.userLoginId === null">
<ion-select-option v-for="productStore in productStores" :key="productStore.productStoreId" :value="productStore.productStoreId">
{{ productStore.storeName }}
</ion-select-option>
Expand Down

0 comments on commit b917544

Please sign in to comment.