mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
chore: Rename renderDataPanel to renderPanel
This commit is contained in:
parent
01208ccd68
commit
d5918498da
@ -140,7 +140,7 @@ export class PanelChrome extends PureComponent<Props, State> {
|
||||
);
|
||||
}
|
||||
|
||||
renderDataPanel = (width: number, height: number): JSX.Element => {
|
||||
renderPanel = (width: number, height: number): JSX.Element => {
|
||||
const { panel } = this.props;
|
||||
const { refreshCounter, timeRange } = this.state;
|
||||
const { datasource, targets } = panel;
|
||||
@ -191,7 +191,7 @@ export class PanelChrome extends PureComponent<Props, State> {
|
||||
scopedVars={panel.scopedVars}
|
||||
links={panel.links}
|
||||
/>
|
||||
{this.renderDataPanel(width, height)}
|
||||
{this.renderPanel(width, height)}
|
||||
</div>
|
||||
);
|
||||
}}
|
||||
|
Loading…
Reference in New Issue
Block a user