Skip to content

Commit

Permalink
Fixed: issue of productStoreId not being passed correctly when fetchi…
Browse files Browse the repository at this point in the history
…ng transfer orders(hotwax#925)
  • Loading branch information
ymaheshwari1 committed Jan 29, 2025
1 parent db0eef1 commit 8a47a1c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/views/TransferOrders.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ export default defineComponent({
computed: {
...mapGetters({
transferOrders: 'transferorder/getTransferOrders',
getShipmentMethodDesc: 'util/getShipmentMethodDesc',
currentEComStore: 'user/getCurrentEComStore'
getShipmentMethodDesc: 'util/getShipmentMethodDesc'
})
},
data () {
Expand Down Expand Up @@ -188,7 +187,7 @@ export default defineComponent({
'-orderStatusId': { value: 'ORDER_CREATED' },
orderTypeId: { value: 'TRANSFER_ORDER' },
facilityId: { value: escapeSolrSpecialChars(this.currentFacility?.facilityId) },
productStoreId: { value: this.currentEComStore.productStoreId }
productStoreId: { value: this.currentEComStore?.productStoreId }
},
facet: {
"shipmentMethodTypeIdFacet":{
Expand Down Expand Up @@ -255,13 +254,15 @@ export default defineComponent({
const router = useRouter();
const store = useStore();
const userStore = useUserStore()
let currentFacility: any = computed(() => userStore.getCurrentFacility)
let currentFacility: any = computed(() => userStore.getCurrentFacility)
let currentEComStore: any = computed(() => userStore.getCurrentEComStore)
return{
Actions,
caretDownOutline,
checkmarkDoneOutline,
cubeOutline,
currentEComStore,
currentFacility,
optionsOutline,
pricetagOutline,
Expand Down

0 comments on commit 8a47a1c

Please sign in to comment.