Commit 9655eeda by Dominik Prokop Committed by GitHub

fix(explore): only show split close button when split is active (#16203)

parent 8ef1c75a
...@@ -108,9 +108,11 @@ export class UnConnectedExploreToolbar extends PureComponent<Props, {}> { ...@@ -108,9 +108,11 @@ export class UnConnectedExploreToolbar extends PureComponent<Props, {}> {
</span> </span>
)} )}
</div> </div>
<a className="explore-toolbar-header-close" onClick={() => this.props.closeSplit(exploreId)}> {splitted && (
<i className="fa fa-times fa-fw" /> <a className="explore-toolbar-header-close" onClick={() => this.props.closeSplit(exploreId)}>
</a> <i className="fa fa-times fa-fw" />
</a>
)}
</div> </div>
</div> </div>
<div className="explore-toolbar-item"> <div className="explore-toolbar-item">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment