diff options
| author | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-05-22 11:27:38 -0500 |
|---|---|---|
| committer | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-05-22 11:27:38 -0500 |
| commit | 2fa84b20fa657835510cb9be876817845d3df61b (patch) | |
| tree | d07ababb415470fd003c1ac5b40f9d83475682d3 /src/client/views/collections/CollectionSubView.tsx | |
| parent | 755ea0668b559a2ae5f2c6dac86261db86e9ad2e (diff) | |
| parent | fdbff9dbb60b4af8f6feba67feda5376263dd7ca (diff) | |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into script_documents
Diffstat (limited to 'src/client/views/collections/CollectionSubView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionSubView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionSubView.tsx b/src/client/views/collections/CollectionSubView.tsx index 53acc15c3..a6b0d03b8 100644 --- a/src/client/views/collections/CollectionSubView.tsx +++ b/src/client/views/collections/CollectionSubView.tsx @@ -451,7 +451,7 @@ export function CollectionSubView<T, X>(schemaCtor: (doc: Doc) => T, moreProps?: if (generatedDocuments.length) { const set = generatedDocuments.length > 1 && generatedDocuments.map(d => Doc.iconify(d)); if (set) { - addDocument(Doc.pileup(generatedDocuments, options.x!, options.y!)); + addDocument(Doc.pileup(generatedDocuments, options.x!, options.y!)!); } else { generatedDocuments.forEach(addDocument); } |
