Commit 645dc944 by Ivana Huckova Committed by GitHub

Explore: Fix split functionality (#23801)

* Fix splitting functionality, remove passing of parameters from button

* Format comment
parent 3eddce32
......@@ -281,7 +281,10 @@ export class UnConnectedExploreToolbar extends PureComponent<Props> {
<ResponsiveButton
splitted={splitted}
title="Split"
onClick={split}
/* This way ResponsiveButton doesn't add event as a parameter when invoking split function
* which breaks splitting functionality
*/
onClick={() => split()}
icon="columns"
iconClassName="icon-margin-right"
disabled={isLive}
......
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