From e17737982ea2ce84b4bded798ee7bdf730a75715 Mon Sep 17 00:00:00 2001 From: bobzel Date: Tue, 30 Apr 2024 00:00:16 -0400 Subject: from last --- src/client/util/LinkManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/util/LinkManager.ts') 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(prototypes); -- cgit v1.2.3-70-g09d2