aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionSubView.tsx
diff options
context:
space:
mode:
authorljungster <parkerljung@gmail.com>2022-02-15 16:37:13 -0500
committerljungster <parkerljung@gmail.com>2022-02-15 16:37:13 -0500
commit1cf7bf9b1a18728eb07950a3f4eafa793e830834 (patch)
tree22fc827df0a013787b01e8b4efcfa1ed01eb3c1c /src/client/views/collections/CollectionSubView.tsx
parentabab63f89344e5bbbf0731e81e3ab7ddb0942664 (diff)
parenta0365450297aa96bcc514114413fb983a34226f9 (diff)
merging
Diffstat (limited to 'src/client/views/collections/CollectionSubView.tsx')
-rw-r--r--src/client/views/collections/CollectionSubView.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionSubView.tsx b/src/client/views/collections/CollectionSubView.tsx
index fc1bcb8b9..34209ebc9 100644
--- a/src/client/views/collections/CollectionSubView.tsx
+++ b/src/client/views/collections/CollectionSubView.tsx
@@ -446,6 +446,7 @@ export function CollectionSubView<T, X>(schemaCtor: (doc: Doc) => T, moreProps?:
generatedDocuments.push(...await DocUtils.uploadFilesToDocs(files, options));
}
if (generatedDocuments.length) {
+ // Creating a dash document
const isFreeformView = this.props.Document._viewType === CollectionViewType.Freeform;
const set = !isFreeformView ? generatedDocuments :
generatedDocuments.length > 1 ? generatedDocuments.map(d => { DocUtils.iconify(d); return d; }) : [];