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, {}> {
</span>
)}
</div>
<a className="explore-toolbar-header-close" onClick={() => this.props.closeSplit(exploreId)}>
<i className="fa fa-times fa-fw" />
</a>
{splitted && (
<a className="explore-toolbar-header-close" onClick={() => this.props.closeSplit(exploreId)}>
<i className="fa fa-times fa-fw" />
</a>
)}
</div>
</div>
<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