Skip to content

Commit

Permalink
Improved: allowing popover to open only if quantity is not received (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Oct 11, 2024
1 parent ab415a9 commit c0d3c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/ShipmentDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</div>

<div class="location">
<LocationPopover v-if="!isShipmentReceived()" :item="item" type="shipment" :facilityId="currentFacility.facilityId" />
<LocationPopover v-if="!isShipmentReceived() && item.quantityReceived === 0" :item="item" type="shipment" :facilityId="currentFacility.facilityId" />
<ion-chip :disabled="true" outline v-else>
<ion-icon :icon="locationOutline"/>
<ion-label>{{ item.locationSeqId }}</ion-label>
Expand Down

0 comments on commit c0d3c38

Please sign in to comment.