aboutsummaryrefslogtreecommitdiff
path: root/src/client/DocServer.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-08-02 13:06:03 -0400
committerbobzel <zzzman@gmail.com>2020-08-02 13:06:03 -0400
commitaa9a1bb38f0c7100629a0096c12b54a0aeab2b6c (patch)
treeb15108b87e322bd6981fafb38b7c30f367f8f7e8 /src/client/DocServer.ts
parentccc8e9b17b70fa2ba1c45f1212c2abf187f9f3c3 (diff)
more server console messages
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