aboutsummaryrefslogtreecommitdiff
path: root/src/client/DocServer.ts
diff options
context:
space:
mode:
authorAndy Rickert <andrew_rickert@brown.edu>2020-08-04 22:08:49 -0400
committerAndy Rickert <andrew_rickert@brown.edu>2020-08-04 22:08:49 -0400
commit02f3d218aa084f00211ffa9e632ea0cdc4d2a531 (patch)
treeec0d4456e49fb55dfb5756eac71eee07d92ee610 /src/client/DocServer.ts
parente83fd812ed3798a7e7c22ad132a2f9e8dccaa76c (diff)
parent7d296bf47dd373c5cb74eecda149ba1aa608acbc (diff)
pull
Diffstat (limited to 'src/client/DocServer.ts')
-rw-r--r--src/client/DocServer.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/DocServer.ts b/src/client/DocServer.ts
index 6fa8cf909..2fe3e9778 100644
--- a/src/client/DocServer.ts
+++ b/src/client/DocServer.ts
@@ -372,6 +372,9 @@ export namespace DocServer {
} else if (cached instanceof Promise) {
proms.push(cached as any);
}
+ } else if (field) {
+ proms.push(_cache[field.id] as any);
+ fieldMap[field.id] = field;
}
}
});