diff options
| author | Geireann <60007097+geireann@users.noreply.github.com> | 2022-02-15 13:28:13 -0500 |
|---|---|---|
| committer | Geireann <60007097+geireann@users.noreply.github.com> | 2022-02-15 13:28:13 -0500 |
| commit | d58b6a077930454cd7b1f6b9c24aa3ac58c0683d (patch) | |
| tree | e60db9a1f2fba37096cecba770d267ddeb39969c /src/client/views/collections/CollectionSubView.tsx | |
| parent | 4cdfa6c29701d372064eb4dc612807a27cb19857 (diff) | |
fixed some syntax errors
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; }) : []; |
