diff options
author | bobzel <zzzman@gmail.com> | 2020-08-04 12:56:04 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-08-04 12:56:04 -0400 |
commit | 477e16bce94bcfb52b0ffeddb1ab56cb174167c5 (patch) | |
tree | 50f4541e051b8eeae4db7cb9c4cc16ab8e9b9b40 /src | |
parent | d4c41208367775ccfb530418137a4de7c8d62472 (diff) |
important server change that fixes promises not being fulfillled when documents already existed.
Diffstat (limited to 'src')
-rw-r--r-- | src/client/DocServer.ts | 3 |
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; } } }); |