chore: Rename renderDataPanel to renderPanel

This commit is contained in:
Johannes Schill 2019-02-12 12:26:34 +01:00
parent 01208ccd68
commit d5918498da

View File

@ -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>
);
}}