Skip to content

Commit e215763

Browse files
committed
Disable Select all for fulfilled shipment
1 parent ffd9a54 commit e215763

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

WooCommerce/Classes/ViewRelated/Orders/Order Details/Shipping Labels/WooShipping Create Shipping Labels/WooShipping Split Shipments/WooShippingSplitShipmentsView.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ struct WooShippingSplitShipmentsView: View {
6161
Button(Localization.selectAll) {
6262
viewModel.selectAll()
6363
}
64-
.disabled(viewModel.isSavingShipmentInfo)
64+
.disabled(
65+
viewModel.currentShipment.isPurchased
66+
)
6567
}
6668

6769
ToolbarItem(placement: .confirmationAction) {

0 commit comments

Comments
 (0)