Skip to content

Commit

Permalink
Fixed: null going in the list of shipping label pdf url array for pri…
Browse files Browse the repository at this point in the history
…nt shipping label (#878)
  • Loading branch information
amansinghbais committed Dec 18, 2024
1 parent 23300b9 commit b324dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/OrderLookupLabelActionsPopover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default defineComponent({
shipmentPackages.map((shipmentPackage: any) => {
shipmentIds.push(shipmentPackage.shipmentId)
shippingLabelPdfUrls.push(shipmentPackage.labelImageUrl)
shipmentPackage.labelImageUrl && shippingLabelPdfUrls.push(shipmentPackage.labelImageUrl)
})
await OrderService.printShippingLabel(shipmentIds, shippingLabelPdfUrls)
Expand Down

0 comments on commit b324dd2

Please sign in to comment.