diff options
Diffstat (limited to 'src/client/util/LinkManager.ts')
-rw-r--r-- | src/client/util/LinkManager.ts | 2 |
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); |