mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Prometheus: Hide query section when empty (#60304)
This commit is contained in:
@@ -10,6 +10,10 @@ export interface Props {
|
||||
}
|
||||
|
||||
export function QueryPreview({ query }: Props) {
|
||||
if (!query) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<EditorRow>
|
||||
<EditorFieldGroup>
|
||||
|
||||
Reference in New Issue
Block a user