mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-25 01:31:02 +00:00
Fix deletions in context
This commit is contained in:
parent
f0a7f52550
commit
36b4cb19ad
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue