aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/TreeView.tsx
diff options
context:
space:
mode:
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}