mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-25 09:41:00 +00:00
Filter identity updates
This commit is contained in:
parent
2dd1f3ebdd
commit
4c1f0e2452
1 changed files with 9 additions and 7 deletions
|
@ -92,12 +92,14 @@ private extension RootViewModel {
|
||||||
}
|
}
|
||||||
.share()
|
.share()
|
||||||
|
|
||||||
observation.map {
|
observation
|
||||||
Identification(
|
.filter { [weak self] in $0.id != self?.identification?.identity.id }
|
||||||
identity: $0,
|
.map {
|
||||||
observation: observation.eraseToAnyPublisher(),
|
Identification(
|
||||||
service: identityService)
|
identity: $0,
|
||||||
}
|
observation: observation.eraseToAnyPublisher(),
|
||||||
.assign(to: &$identification)
|
service: identityService)
|
||||||
|
}
|
||||||
|
.assign(to: &$identification)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue