We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e5d86d commit 461494aCopy full SHA for 461494a
WooCommerce/Classes/ViewRelated/Orders/Order Creation/CollapsibleProductCard.swift
@@ -343,7 +343,7 @@ private extension CollapsibleProductRowCard {
343
onAddDiscount(viewModel.id)
344
}
345
.buttonStyle(PlusButtonStyle())
346
- .disabled(shouldDisallowDiscounts)
+ .disabled(shouldDisallowDiscounts || isLoading)
347
} else {
348
HStack {
349
Button(action: {
@@ -357,6 +357,7 @@ private extension CollapsibleProductRowCard {
357
.frame(width: Layout.iconSize, height: Layout.iconSize)
358
359
})
360
+ .disabled(isLoading)
361
Spacer()
362
if let discountLabel = viewModel.discountLabel {
363
Text(minusSign + discountLabel)
0 commit comments