mirror of
https://github.com/grafana/grafana.git
synced 2024-12-02 13:39:19 -06:00
Explore: Fix split functionality (#23801)
* Fix splitting functionality, remove passing of parameters from button * Format comment
This commit is contained in:
parent
3eddce3258
commit
645dc944db
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user