diff options
| author | bobzel <zzzman@gmail.com> | 2020-12-23 19:21:10 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-12-23 19:21:10 -0500 |
| commit | a2807a42ab6af0d683726d8263b14fc8121fc6f0 (patch) | |
| tree | 0d5c1cc3f5a300db5710cf902af9781cf3abfdec /src/client/views/collections | |
| parent | f23ab533da30ebf10b927b8d3b40b86f047f9c20 (diff) | |
changed DashbaoardStyleProvider to not show icons for tab's by adding an 'afterHeader' property extension to treeView styleprovider calls.
Diffstat (limited to 'src/client/views/collections')
| -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 bce0ba9e2..e05e5925d 100644 --- a/src/client/views/collections/TreeView.tsx +++ b/src/client/views/collections/TreeView.tsx @@ -586,7 +586,7 @@ export class TreeView extends React.Component<TreeViewProps> { {view} </div > <div className={"right-buttons-container"}> - {this.props.styleProvider?.(this.doc, this.props.treeView.props, StyleProp.Decorations)} {/* hide and lock buttons */} + {this.props.styleProvider?.(this.doc, this.props.treeView.props, StyleProp.Decorations + (Doc.IsSystem(this.props.containingCollection) ? ":afterHeader" : ""))} {/* hide and lock buttons */} {this.headerElements} </div> </>; |
