aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/LinkManager.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-12-12 12:49:58 -0500
committerbobzel <zzzman@gmail.com>2023-12-12 12:49:58 -0500
commit2e56299ddfca9cc9e8466b45170ce3f05ee64f15 (patch)
treedcf3310d604a47362ea3da367197666d2998c835 /src/client/util/LinkManager.ts
parentfd54add240b41b3c2ac5f5265438effec045c9d4 (diff)
fixed overlay view and scriptingRepl and all observable Doc arrays to be shallowly observed.
Diffstat (limited to 'src/client/util/LinkManager.ts')
-rw-r--r--src/client/util/LinkManager.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/LinkManager.ts b/src/client/util/LinkManager.ts
index 8346949ba..cacfcf856 100644
--- a/src/client/util/LinkManager.ts
+++ b/src/client/util/LinkManager.ts
@@ -22,7 +22,7 @@ import { ScriptingGlobals } from './ScriptingGlobals';
*/
export class LinkManager {
@observable static _instance: LinkManager;
- @observable userLinkDBs: Doc[] = observable([]);
+ @observable.shallow userLinkDBs: Doc[] = [];
@observable public static currentLink: Opt<Doc>;
@observable public static currentLinkAnchor: Opt<Doc>;
public static get Instance() {