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