mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
chore: Rename isDataPanel to noQueries
This commit is contained in:
@@ -131,8 +131,11 @@ export class PanelChrome extends PureComponent<Props, State> {
|
||||
this.renderPanelPlugin(LoadingState.Done, snapshotDataToPanelData(panel), width, height)
|
||||
) : (
|
||||
<>
|
||||
{plugin.isDataPanel === true ?
|
||||
<DataPanel
|
||||
|
||||
{plugin.noQueries === true ?
|
||||
this.renderPanelPlugin(LoadingState.Done, null, width, height)
|
||||
: (
|
||||
<DataPanel
|
||||
panelId={panel.id}
|
||||
datasource={datasource}
|
||||
queries={targets}
|
||||
@@ -146,8 +149,6 @@ export class PanelChrome extends PureComponent<Props, State> {
|
||||
return this.renderPanelPlugin(loading, panelData, width, height);
|
||||
}}
|
||||
</DataPanel>
|
||||
: (
|
||||
this.renderPanelPlugin(LoadingState.Done, null, width, height)
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
|
Reference in New Issue
Block a user