diff options
| author | ljungster <parkerljung@gmail.com> | 2022-02-15 16:37:13 -0500 |
|---|---|---|
| committer | ljungster <parkerljung@gmail.com> | 2022-02-15 16:37:13 -0500 |
| commit | 1cf7bf9b1a18728eb07950a3f4eafa793e830834 (patch) | |
| tree | 22fc827df0a013787b01e8b4efcfa1ed01eb3c1c /src/client/views/collections/CollectionSubView.tsx | |
| parent | abab63f89344e5bbbf0731e81e3ab7ddb0942664 (diff) | |
| parent | a0365450297aa96bcc514114413fb983a34226f9 (diff) | |
merging
Diffstat (limited to 'src/client/views/collections/CollectionSubView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionSubView.tsx | 1 |
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; }) : []; |
