Skip to content

Commit c45944a

Browse files
committed
Pass also the current status
1 parent 1deacbc commit c45944a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

WooCommerce/Classes/ViewRelated/Orders/OrderDetailsViewController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,8 @@ private extension OrderDetailsViewController {
864864
//
865865
private extension OrderDetailsViewController {
866866
private func displayOrderStatusList() {
867-
WooAnalytics.shared.track(.orderDetailOrderStatusEditButtonTapped)
867+
WooAnalytics.shared.track(.orderDetailOrderStatusEditButtonTapped,
868+
withProperties: ["status": viewModel.order.statusKey])
868869
let statusList = OrderStatusListViewController(order: viewModel.order)
869870
let navigationController = UINavigationController(rootViewController: statusList)
870871

0 commit comments

Comments
 (0)