Skip to content

Commit b2ab931

Browse files
committed
Include .more so that variations can be deleted
The More button houses the Delete button for variations.
1 parent 75814c7 commit b2ab931

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WooCommerce/Classes/ViewRelated/Products/Edit Product/ProductVariationFormViewModel.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ final class ProductVariationFormViewModel: ProductFormViewModelProtocol {
6767
var actionButtons: [ActionButtonType] {
6868
switch (formType, hasUnsavedChanges()) {
6969
case (.edit, true):
70-
return [.save]
70+
return [.save, .more]
7171
default:
72-
return []
72+
return [.more]
7373
}
7474
}
7575

0 commit comments

Comments
 (0)