aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-02-22 14:00:33 -0500
committerbobzel <zzzman@gmail.com>2022-02-22 14:00:33 -0500
commit8e48615d332da20b07abe8b1fa37762f665fa003 (patch)
tree44ad136dd32d4aabf00be7027057e0d06a878ab9 /src/client/views/collections
parent3e728c21ba578843ebd25294f336f0bf6601b75f (diff)
parentd010c3875b4a6b113f4f2099f201abbf1b8d4eb0 (diff)
Merge branch 'master' into speedups
Diffstat (limited to 'src/client/views/collections')
-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 4bb14273a..1e700f250 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; }) : [];