diff options
author | bobzel <zzzman@gmail.com> | 2022-06-03 09:49:15 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-06-03 09:49:15 -0400 |
commit | 31b2606fa6ac49b0a78e46fcedff05fd2e2366b7 (patch) | |
tree | 48d7930af3559391996c9124a63a44e5cbc01f28 /src/client/views/collections/CollectionView.tsx | |
parent | 19705d01102fbb594ea5df18bb980bd2dfec93d4 (diff) |
fixed tree view crash
Diffstat (limited to 'src/client/views/collections/CollectionView.tsx')
-rw-r--r-- | src/client/views/collections/CollectionView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionView.tsx b/src/client/views/collections/CollectionView.tsx index 0de61c9b2..965f0a352 100644 --- a/src/client/views/collections/CollectionView.tsx +++ b/src/client/views/collections/CollectionView.tsx @@ -82,7 +82,7 @@ export interface CollectionViewProps extends FieldViewProps { //TODO: [AL] add these fields AddToMap?: (treeViewDoc: Doc, index: number[]) => Doc[]; RemFromMap?: (treeViewDoc: Doc, index: number[]) => Doc[]; - hierarchyIndex?: number[]; + hierarchyIndex?: number[]; // hierarchical index of a document up to the rendering root (primarily used for tree views) } @observer export class CollectionView extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps & CollectionViewProps>() { |