aboutsummaryrefslogtreecommitdiff
path: root/src/client/DocServer.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/DocServer.ts')
-rw-r--r--src/client/DocServer.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/DocServer.ts b/src/client/DocServer.ts
index 6fa8cf909..95b17bbb5 100644
--- a/src/client/DocServer.ts
+++ b/src/client/DocServer.ts
@@ -329,6 +329,7 @@ export namespace DocServer {
map[id] = cached;
}
}
+ if (!requestedIds.length) return ({});
// 2) synchronously, we emit a single callback to the server requesting the serialized (i.e. represented by a string)
// fields for the given ids. This returns a promise, which, when resolved, indicates that all the JSON serialized versions of