diff options
| author | bobzel <zzzman@gmail.com> | 2022-05-20 12:51:51 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-05-20 12:51:51 -0400 |
| commit | 6df80c76b4046ef1ac9e98e52f766dfaf540ead2 (patch) | |
| tree | 121725b7d403deba1b2f5ae92612f141a803115e /src/client/views/collections/TreeView.tsx | |
| parent | 51199aae80013073d4f1a0749a36051dcee591c1 (diff) | |
removed enumerables field stuff which was hacky and never used. cleaned up some of currentUserUtils initialiazation. fixed treeView sorting for 'none" which fixes problem with slide template.
Diffstat (limited to 'src/client/views/collections/TreeView.tsx')
| -rw-r--r-- | src/client/views/collections/TreeView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/TreeView.tsx b/src/client/views/collections/TreeView.tsx index c004b4d49..65f8fe248 100644 --- a/src/client/views/collections/TreeView.tsx +++ b/src/client/views/collections/TreeView.tsx @@ -895,7 +895,7 @@ export class TreeView extends React.Component<TreeViewProps> { childDocs = childDocs.filter(d => viewSpecScript.script.run({ doc: d }, console.log).result); } - const docs = TreeView.sortDocs(childDocs, StrCast(containerCollection.treeViewSortCriterion)); + const docs = TreeView.sortDocs(childDocs, StrCast(containerCollection.treeViewSortCriterion, TreeSort.None)); const rowWidth = () => panelWidth() - treeBulletWidth(); const treeViewRefs = new Map<Doc, TreeView | undefined>(); return docs.filter(child => child instanceof Doc).map((child, i) => { |
