Skip to content

Commit

Permalink
Fixed: Added condition to hide retry shipping label function when the…
Browse files Browse the repository at this point in the history
…re are no packages with missing label.
  • Loading branch information
ravilodhi committed Oct 20, 2023
1 parent 09e2955 commit 55f309b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/ShippingDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<ion-icon :icon="openOutline" slot="end" />
</ion-button>
</ion-item>
<ion-item lines="none" v-if="!currentOrder.trackingCode && ['PICKITEM_PICKED', 'PICKITEM_COMPLETED'].includes(currentOrder?.items[0]?.picklistItemStatusId)">
<ion-item lines="none" v-if="!currentOrder.trackingCode && currentOrder.shipmentPackages && ['PICKITEM_PICKED', 'PICKITEM_COMPLETED'].includes(currentOrder?.items[0]?.picklistItemStatusId)">
<ion-label class="ion-text-wrap" v-if="shipmentLabelErrorMessages">
{{ shipmentLabelErrorMessages }}
</ion-label>
Expand Down

0 comments on commit 55f309b

Please sign in to comment.