let values emit when undefined

This commit is contained in:
Lucy Cifferello
2022-06-14 14:30:47 -06:00
parent 440b1ba048
commit a3aa821847

View File

@@ -62,9 +62,7 @@ export class Store<T extends { [key: string]: any }> {
private updateValue(path: string): void { private updateValue(path: string): void {
const value = getValueByPointer(this.cache.data, path) 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 { private handleRevision(revision: Revision): void {