mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 10:21:53 +00:00
let values emit when undefined
This commit is contained in:
@@ -62,9 +62,7 @@ export class Store<T extends { [key: string]: any }> {
|
||||
private updateValue(path: string): void {
|
||||
const value = getValueByPointer(this.cache.data, path)
|
||||
|
||||
if (value !== undefined) {
|
||||
this.watchedNodes[path].next(value)
|
||||
}
|
||||
this.watchedNodes[path].next(value)
|
||||
}
|
||||
|
||||
private handleRevision(revision: Revision): void {
|
||||
|
||||
Reference in New Issue
Block a user