Fix deletions in context
This commit is contained in:
parent
f0a7f52550
commit
36b4cb19ad
|
@ -470,7 +470,8 @@ public extension ContentDatabase {
|
||||||
.removeDuplicates()
|
.removeDuplicates()
|
||||||
.publisher(in: databaseWriter)
|
.publisher(in: databaseWriter)
|
||||||
.combineLatest(activeFiltersPublisher)
|
.combineLatest(activeFiltersPublisher)
|
||||||
.compactMap { $0?.items(filters: $1) }
|
.map { $0?.items(filters: $1) }
|
||||||
|
.replaceNil(with: [])
|
||||||
.eraseToAnyPublisher()
|
.eraseToAnyPublisher()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue