mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
SingleStat: add a gauge migration call to action button in the editor (#18604)
This commit is contained in:
@@ -61,7 +61,7 @@ export class DashboardPanel extends PureComponent<Props, State> {
|
||||
return <AddPanelWidget panel={this.props.panel} dashboard={this.props.dashboard} />;
|
||||
}
|
||||
|
||||
onPluginTypeChanged = (plugin: PanelPluginMeta) => {
|
||||
onPluginTypeChange = (plugin: PanelPluginMeta) => {
|
||||
this.loadPlugin(plugin.id);
|
||||
};
|
||||
|
||||
@@ -211,7 +211,7 @@ export class DashboardPanel extends PureComponent<Props, State> {
|
||||
plugin={plugin}
|
||||
dashboard={dashboard}
|
||||
angularPanel={angularPanel}
|
||||
onTypeChanged={this.onPluginTypeChanged}
|
||||
onPluginTypeChange={this.onPluginTypeChange}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user