Skip to content

Commit

Permalink
fix(cockpit/editor): remove arrows next to files in file explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
jrainville committed Dec 11, 2018
1 parent ebd827b commit d30b00e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions embark-ui/src/containers/FileExplorerRowContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { getTheme } from '../reducers/selectors';

class FileExplorerRowContainer extends React.Component {
constructor(props) {
super(props)
super(props);
this.state = {active: false};
this.addFileModal = React.createRef();
this.addFolderModal = React.createRef();
Expand Down Expand Up @@ -68,7 +68,7 @@ class FileExplorerRowContainer extends React.Component {
onMouseEnter={() => this.activateNode()}
onMouseLeave={() => this.deactivateNode()}>
<span onClick={this.props.onClick}>
<this.props.decorators.Toggle style={this.props.style.toggle}/>
{this.props.node.children && <this.props.decorators.Toggle style={this.props.style.toggle}/>}
<this.props.decorators.Header node={this.props.node} style={this.props.style.header}/>
</span>
{this.state.active && this.renderAction()}
Expand Down

0 comments on commit d30b00e

Please sign in to comment.