aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/LinkManager.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-04-30 00:00:16 -0400
committerbobzel <zzzman@gmail.com>2024-04-30 00:00:16 -0400
commite17737982ea2ce84b4bded798ee7bdf730a75715 (patch)
treeec88a6cd53164de8eec77795f72357b0577be3cb /src/client/util/LinkManager.ts
parent9dc32440852c8af3575687d96f0442bf18542671 (diff)
from last
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 6a2ac6bbb..dbd13f978 100644
--- a/src/client/util/LinkManager.ts
+++ b/src/client/util/LinkManager.ts
@@ -246,7 +246,7 @@ let cacheDocumentIds = ''; // ; separate string of all documents ids in the user
export function UPDATE_SERVER_CACHE() {
const prototypes = Object.values(DocumentType)
.filter(type => type !== DocumentType.NONE)
- .map(type => DocServer._cache[type + 'Proto'])
+ .map(type => DocServer.GetCachedRefField(type + 'Proto'))
.filter(doc => doc instanceof Doc)
.map(doc => doc as Doc);
const references = new Set<Doc>(prototypes);