diff options
| author | bobzel <zzzman@gmail.com> | 2023-03-09 21:39:21 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-03-09 21:39:21 -0500 |
| commit | 096371e683b3f91edfadb2aaf9f8da3309b86014 (patch) | |
| tree | 8e3bfaddd94eb349bd28983d5bc72bb95740a29a /src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | |
| parent | 8341b50668ddaea01e6a2590c6d3f3b4365d1185 (diff) | |
added reordering of progressivized docs
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index b92a8ec4d..87177cd74 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -519,7 +519,7 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection this._clusterSets.push([doc]); } else if (this._clusterSets.length) { for (let i = this._clusterSets.length; i <= doc.cluster; i++) !this._clusterSets[i] && this._clusterSets.push([]); - this._clusterSets[doc.cluster].push(doc); + this._clusterSets[doc.cluster ?? 0].push(doc); } } } |
