aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/DocServer.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/DocServer.ts b/src/client/DocServer.ts
index afd7878f2..fc39fa364 100644
--- a/src/client/DocServer.ts
+++ b/src/client/DocServer.ts
@@ -126,7 +126,7 @@ export namespace DocServer {
// deserialize
const field = await SerializationHelper.Deserialize(fieldJson, val => {
if (val !== undefined) {
- _cache[id] = field;
+ _cache[id] = val;
} else {
delete _cache[id];
}