Skip to content

Commit

Permalink
Merge pull request #104 from ymaheshwari1/fulfillment/100
Browse files Browse the repository at this point in the history
Fixed: issue of picklist not generated from open order page(#100)
  • Loading branch information
adityasharma7 authored Apr 20, 2023
2 parents 7ea3bd8 + 66f9a83 commit caf34b2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/views/AssignPickerModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ export default defineComponent({
},
computed: {
...mapGetters({
currentFacility: 'user/getCurrentFacility'
currentFacility: 'user/getCurrentFacility',
openOrders: 'order/getOpenOrders'
})
},
data () {
Expand Down Expand Up @@ -113,7 +114,7 @@ export default defineComponent({
let resp;
// creating picklist only for orders that are currently in the list, means those are currently visible on UI
const orders = this.state.order.open.list;
const orders = this.openOrders.list;
const formData = new FormData();
formData.append("facilityId", this.currentFacility.facilityId);
Expand Down

0 comments on commit caf34b2

Please sign in to comment.