Glue: Hide run queries button in Correlations Page (#61039)

* Hide run queries button in Correlations Page when showing Loki and Prometheus editors

* Use more semantic selectors

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

* Use more semantic selectors

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

* Post-merge fix (remove duplicate)

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
This commit is contained in:
Piotr Jamróz
2023-01-12 21:14:55 +01:00
committed by GitHub
co-authored by Giordano Ricci
parent 49ae1bbe63
commit e8ef0395b1
6 changed files with 73 additions and 13 deletions
@@ -130,6 +130,7 @@ export const QueryEditorField = ({ dsUid, invalid, error, name }: Props) => {
return (
<>
<QueryEditor
app={CoreApp.Correlations}
onRunQuery={() => handleValidation(value)}
onChange={(value) => {
setIsValidQuery(undefined);