Skip to content

Commit

Permalink
Merge pull request #468 from DiamondLightSource/fix/LIMS-321/dispatch…
Browse files Browse the repository at this point in the history
…-country-list-not-populated

[LIMS-321] Fix: Dispatch country list not populated
  • Loading branch information
NKatti2011 authored Feb 21, 2023
2 parents 0ca0420 + 664897e commit 469b57f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/src/js/modules/shipment/views/dispatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ define(['marionette', 'views/form',
this.$el.find('input[name=DELIVERYAGENT_SHIPPINGDATE]').val(today)
this.$el.find('.facilityCourier').hide()

proposal_code = app.proposal.get('PROPOSALCODE')
industrial_codes = ['in', 'sw']
industrial_visit = industrial_codes.includes(app.prop.slice(0,2))
if (industrial_visit) {
Expand Down Expand Up @@ -191,7 +190,7 @@ define(['marionette', 'views/form',

this.countries = new Countries()
this.countries.state.pageSize = 9999
this.countries.fetch()
this.ready.push(this.countries.fetch())
},

updateLC: function() {
Expand Down

0 comments on commit 469b57f

Please sign in to comment.