mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 02:11:54 +00:00
don't delete observables whose value is undefined
This commit is contained in:
committed by
Aiden McClelland
parent
b7af320c56
commit
8b0a39ae0b
@@ -152,8 +152,6 @@ export class Store<T extends { [key: string]: any }> {
|
||||
|
||||
if (path.includes(revisionPath) || revisionPath.includes(path)) {
|
||||
const val = getValueByPointer(this.cache.data, path)
|
||||
if (val === undefined) return kill(path)
|
||||
|
||||
this.watchedNodes[path].next(val)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user