From a3aa821847e6fd9fc1be573ecda9cb3c5f722f97 Mon Sep 17 00:00:00 2001 From: Lucy Cifferello <12953208+elvece@users.noreply.github.com> Date: Tue, 14 Jun 2022 14:30:47 -0600 Subject: [PATCH] let values emit when undefined --- client/lib/store.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/lib/store.ts b/client/lib/store.ts index 32b316c..2c5b337 100644 --- a/client/lib/store.ts +++ b/client/lib/store.ts @@ -62,9 +62,7 @@ export class Store { 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 {