diff options
| author | anika <anika.ahluwalia@gmail.com> | 2020-12-31 10:29:20 -0600 |
|---|---|---|
| committer | anika <anika.ahluwalia@gmail.com> | 2020-12-31 10:29:20 -0600 |
| commit | 7174328702fe6b350780728db890141f50ceec5b (patch) | |
| tree | 19cf44151ce468143d2bfc26538e300bd44594c0 /src/client/views/collections/TreeView.tsx | |
| parent | 6b211be7c96a3d7f275509d094d9e96dd6dff6ba (diff) | |
last add b efore pull
Diffstat (limited to 'src/client/views/collections/TreeView.tsx')
| -rw-r--r-- | src/client/views/collections/TreeView.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/views/collections/TreeView.tsx b/src/client/views/collections/TreeView.tsx index 93d3be1fc..b5e498503 100644 --- a/src/client/views/collections/TreeView.tsx +++ b/src/client/views/collections/TreeView.tsx @@ -441,7 +441,11 @@ export class TreeView extends React.Component<TreeViewProps> { @computed get renderBullet() { TraceMobx(); - const iconType = Doc.toIcon(this.doc); + const iconType = this.titleStyleProvider?.(this.doc, this.props.treeView.props, StyleProp.TreeViewIcon); + + + // const footerDecoration = this.titleStyleProvider?.(this.doc, this.props.treeView.props, StyleProp.Decoration + ":footer"); + const checked = this.onCheckedClick ? (this.doc.treeViewChecked ?? "unchecked") : undefined; return <div className={`bullet${this.outlineMode ? "-outline" : ""}`} key={"bullet"} title={this.childDocs?.length ? `click to see ${this.childDocs?.length} items` : "view fields"} |
