From ceb5cd1af7910c2dc95b53daf6203daf23dbd5f2 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Mon, 19 Jul 2021 16:35:48 -0600 Subject: [PATCH] as observable --- client/lib/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/lib/store.ts b/client/lib/store.ts index 126b16e..a752952 100644 --- a/client/lib/store.ts +++ b/client/lib/store.ts @@ -34,7 +34,7 @@ export class Store { if (!this.watchedNodes[path]) { this.watchedNodes[path] = new BehaviorSubject(getValueByPointer(this.cache.data, path)) } - return this.watchedNodes[path] + return this.watchedNodes[path].asObservable() } update (update: Update): void {