Skip to content

Commit 8a0ae3b

Browse files
committed
Don’t reload catalog based on child list issue
1 parent 3c57a81 commit 8a0ae3b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Modules/Sources/PointOfSale/Controllers/PointOfSaleObservableItemsController.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ final class PointOfSaleObservableItemsController: PointOfSaleItemsControllerProt
9191
}
9292

9393
func reloadItems(base: ItemListBaseItem) async {
94+
guard case .root = base else {
95+
return
96+
}
9497
loadingState = .init()
9598

9699
try? await catalogSyncCoordinator.performSmartSync(for: siteID)

0 commit comments

Comments
 (0)