We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c58882e commit fb1286dCopy full SHA for fb1286d
src/js/TreeNode.js
@@ -81,15 +81,15 @@ class TreeNode extends React.Component {
81
}
82
83
renderNodeIcon() {
84
- if (this.props.rawChildren !== null) {
85
- if (!this.props.expanded) {
86
- return <i className="fa fa-folder-o" />;
87
- }
+ if (this.props.rawChildren === null) {
+ return <i className="fa fa-file-o" />;
+ }
88
89
- return <i className="fa fa-folder-open-o" />;
+ if (!this.props.expanded) {
+ return <i className="fa fa-folder-o" />;
90
91
92
- return <i className="fa fa-file-o" />;
+ return <i className="fa fa-folder-open-o" />;
93
94
95
renderChildren() {
0 commit comments