diff options
| author | bobzel <zzzman@gmail.com> | 2024-05-10 16:34:37 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-05-10 16:34:37 -0400 |
| commit | dc20525c09943fef332f8e7dac54aab3039e8df7 (patch) | |
| tree | eda5a2fe066e1be498c7789756088a30f8d0c0e6 /src/client/views/collections/TreeView.tsx | |
| parent | 4b4d77f99bd55e6de0593c3acd1cf5798ae038bf (diff) | |
fixed exception when text templates have no inherited data, and when text views are modified after the editor has been destroyed. random code cleanup
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 bc12d1c28..b82421e6b 100644 --- a/src/client/views/collections/TreeView.tsx +++ b/src/client/views/collections/TreeView.tsx @@ -779,7 +779,7 @@ export class TreeView extends ObservableReactComponent<TreeViewProps> { @computed get renderBullet() { TraceMobx(); - const iconType = this.treeView._props.styleProvider?.(this.Document, this.treeView._props, StyleProp.TreeViewIcon + (this.treeViewOpen ? ':open' : !this.childDocs.length ? ':empty' : '')) || 'question'; + const iconType = this.treeView._props.styleProvider?.(this.Document, this.treeView._props, StyleProp.TreeViewIcon + (this.treeViewOpen ? ':treeOpen' : !this.childDocs.length ? ':empty' : '')) || 'question'; const color = SettingsManager.userColor; const checked = this.onCheckedClick ? this.Document.treeView_Checked ?? 'unchecked' : undefined; return ( |
