diff options
author | bobzel <zzzman@gmail.com> | 2020-10-10 20:49:26 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-10-10 20:49:26 -0400 |
commit | 858fdbf31c9ddbf00eae692cd43e70455a19e1b5 (patch) | |
tree | c3756fb8b91e95d2fb98cad8d519d6bb8b2ff790 /src/client/util/LinkManager.ts | |
parent | c63aeeb0010a79f0b19d8719f97d98b7a83baf3b (diff) |
fixed docFilters to use up one string field, not 3. makes adding/removing to lists incrementally work with new server code.
Diffstat (limited to 'src/client/util/LinkManager.ts')
-rw-r--r-- | src/client/util/LinkManager.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/LinkManager.ts b/src/client/util/LinkManager.ts index e74ce87f8..1ba6cff6d 100644 --- a/src/client/util/LinkManager.ts +++ b/src/client/util/LinkManager.ts @@ -36,7 +36,7 @@ export class LinkManager { public getAllLinks(): Doc[] { const lset = new Set<Doc>(DocListCast(Doc.LinkDBDoc().data)); SharingManager.Instance.users.forEach(user => { - DocListCast((user.linkDatabase as Doc)?.data).map(doc => { + DocListCast(user.linkDatabase?.data).map(doc => { lset.add(doc); }); }); |