You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: WooCommerce/Classes/ViewRelated/Orders/Order Details/Shipping Labels/WooShipping Create Shipping Labels/WooShipping Items Section/WooShippingItemsDataSource.swift
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -30,10 +30,7 @@ final class DefaultWooShippingItemsDataSource: WooShippingItemsDataSource {
30
30
31
31
/// Stored products that match the items in the order.
32
32
///
33
-
privatevarproducts:[ProductListItem]{
34
-
try? productResultsController.performFetch()
35
-
return productResultsController.listItemObjects
36
-
}
33
+
privatevarproducts:[ProductListItem]=[]
37
34
38
35
/// Stored product variations that match the items in the order.
39
36
///
@@ -79,6 +76,7 @@ final class DefaultWooShippingItemsDataSource: WooShippingItemsDataSource {
0 commit comments