aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-02-21 19:36:31 -0500
committerbobzel <zzzman@gmail.com>2021-02-21 19:36:31 -0500
commit1c1b00e5e164ae82275e03b488a5a81eb1721234 (patch)
tree0bbab496ef3cf6bf4dedccb87da68267d81920af /src
parenta2abfb07b783769094414c39e300b88c31cfc450 (diff)
fixed warning
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/CollectionSubView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionSubView.tsx b/src/client/views/collections/CollectionSubView.tsx
index 2ba45df2c..a1021b6a1 100644
--- a/src/client/views/collections/CollectionSubView.tsx
+++ b/src/client/views/collections/CollectionSubView.tsx
@@ -256,7 +256,7 @@ export function CollectionSubView<T, X>(schemaCtor: (doc: Doc) => T, moreProps?:
const addDocument = (doc: Doc | Doc[]) => {
const docs = doc instanceof Doc ? [doc] : doc;
docs.forEach(doc => Doc.AddDocToList(Cast(Doc.UserDoc().myFileOrphans, Doc, null), "data", doc));
- this.addDocument(doc);
+ return this.addDocument(doc);
}
if (html) {