aboutsummaryrefslogtreecommitdiff
path: root/src/client/DocServer.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-08-09 18:14:00 -0400
committerbobzel <zzzman@gmail.com>2021-08-09 18:14:00 -0400
commitdbdcff75d76fb54a0e085cc0958a07ded32d0b45 (patch)
tree4c24b49c750acefe567c79be4da49e92f6936e1f /src/client/DocServer.ts
parent81ae5175aebf7e14a781a73d4a7cbaec0b8f3e4a (diff)
fixed bug where shared list field items weren't being received as Documents so they didn't update -- eg add a private item to a list, then try to make it public
Diffstat (limited to 'src/client/DocServer.ts')
-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 f4e3a22cf..e498a7cca 100644
--- a/src/client/DocServer.ts
+++ b/src/client/DocServer.ts
@@ -398,7 +398,7 @@ export namespace DocServer {
(_cache[field.id] as any).then((f: any) => fieldMap[field.id] = f);
} else if (field) {
proms.push(_cache[field.id] as any);
- fieldMap[field.id] = field;
+ fieldMap[field.id] = DocServer.GetCachedRefField(field.id) || field;
}
}
});