fix wrong error state
This commit is contained in:
parent
02dfc709c3
commit
cf6f8e9268
|
|
@ -70,10 +70,9 @@ public final class TotalCountCursor<LT, ET, CC: TotalCountCursorConfiguration>:
|
|||
|
||||
let newProductsObservable = sharedProductsListing
|
||||
.map { $0.results }
|
||||
.filterEmpty()
|
||||
|
||||
Driver
|
||||
.combineLatest(newProductsObservable, Driver.just(elementsVariable.value)) {
|
||||
.combineLatest(newProductsObservable.filterEmpty(), Driver.just(elementsVariable.value)) {
|
||||
$0 + $1
|
||||
}
|
||||
.drive(elementsVariable)
|
||||
|
|
|
|||
Loading…
Reference in New Issue