mirror of https://github.com/embarklabs/embark.git
fix(cockpit/editor): remove arrows next to files in file explorer
This commit is contained in:
parent
ebd827bc55
commit
d30b00e526
|
@ -11,7 +11,7 @@ import { getTheme } from '../reducers/selectors';
|
||||||
|
|
||||||
class FileExplorerRowContainer extends React.Component {
|
class FileExplorerRowContainer extends React.Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
super(props)
|
super(props);
|
||||||
this.state = {active: false};
|
this.state = {active: false};
|
||||||
this.addFileModal = React.createRef();
|
this.addFileModal = React.createRef();
|
||||||
this.addFolderModal = React.createRef();
|
this.addFolderModal = React.createRef();
|
||||||
|
@ -68,7 +68,7 @@ class FileExplorerRowContainer extends React.Component {
|
||||||
onMouseEnter={() => this.activateNode()}
|
onMouseEnter={() => this.activateNode()}
|
||||||
onMouseLeave={() => this.deactivateNode()}>
|
onMouseLeave={() => this.deactivateNode()}>
|
||||||
<span onClick={this.props.onClick}>
|
<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}/>
|
<this.props.decorators.Header node={this.props.node} style={this.props.style.header}/>
|
||||||
</span>
|
</span>
|
||||||
{this.state.active && this.renderAction()}
|
{this.state.active && this.renderAction()}
|
||||||
|
|
Loading…
Reference in New Issue