diff options
| author | bobzel <zzzman@gmail.com> | 2021-03-12 11:48:54 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-03-12 11:48:54 -0500 |
| commit | 75194d8218e1747d177ec018e3cf025b8d8906bc (patch) | |
| tree | 2f7faf642a9977620f9a83b3e8feddec3fad8d48 /src/client/views/collections/TreeView.tsx | |
| parent | 2f5051296883d3473e2eb1df648d27a0102d04ed (diff) | |
changed setDocFilter to not take undefined as a modfied & added toggle param. added single click on marquee annotator to create an annotation. extended PDF sidebar to have filter buttons.
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 03210d768..1d851e775 100644 --- a/src/client/views/collections/TreeView.tsx +++ b/src/client/views/collections/TreeView.tsx @@ -433,7 +433,7 @@ export class TreeView extends React.Component<TreeViewProps> { this.onCheckedClick?.script.run({ this: this.doc.isTemplateForField && this.props.dataDoc ? this.props.dataDoc : this.doc, heading: this.props.containingCollection.title, - checked: this.doc.treeViewChecked === "check" ? "x" : this.doc.treeViewChecked === "x" ? undefined : "check", + checked: this.doc.treeViewChecked === "check" ? "x" : this.doc.treeViewChecked === "x" ? "remove" : "check", containingTreeView: this.props.treeView.props.Document, }, console.log); } else { |
