aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/TreeView.tsx
diff options
context:
space:
mode:
authorAubrey-Li <aubreylys@hotmail.com>2022-05-03 18:10:55 -0400
committerAubrey-Li <aubreylys@hotmail.com>2022-05-03 18:10:55 -0400
commitca26b43095622d07ae81fc08d4037be38d9a8b28 (patch)
tree52df8cf475b5e2020c6e4109d55215e1a9d3d69e /src/client/views/collections/TreeView.tsx
parent314ed039ea4d5128c84de8ec1f06c1ccb0d0e3ec (diff)
implement child slide sorting
Diffstat (limited to 'src/client/views/collections/TreeView.tsx')
-rw-r--r--src/client/views/collections/TreeView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/TreeView.tsx b/src/client/views/collections/TreeView.tsx
index 304d68a20..f9497eb4a 100644
--- a/src/client/views/collections/TreeView.tsx
+++ b/src/client/views/collections/TreeView.tsx
@@ -1013,7 +1013,7 @@ export class TreeView extends React.Component<TreeViewProps> {
containerCollection={containerCollection}
prevSibling={docs[i]}
// TODO: [AL] add these
- hierarchyIndex={[...hierarchyIndex!, i]}
+ hierarchyIndex={[...hierarchyIndex!, i + 1]}
AddToMap={AddToMap}
RemFromMap={RemFromMap}
treeView={treeView}