Explore: removes handling onBlur action in Explore for Loki and Prometheus (#22768)

* Explore: turns off actions execution on blur for Loki

* Explore: turns off actions execution on blur for Prometheus

* Explore: updates snapshots for Loki & Prometheus after turning off onBlur
This commit is contained in:
Lukas Siatka 2020-03-13 12:00:02 +01:00 committed by GitHub
parent b15d0388ff
commit 2693f44a03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 0 deletions

View File

@ -66,6 +66,7 @@ export function LokiExploreQueryEditor(props: Props) {
datasource={datasource}
query={query}
onChange={onChange}
onBlur={() => {}}
onRunQuery={onRunQuery}
history={history}
data={data}

View File

@ -99,6 +99,7 @@ exports[`LokiExploreQueryEditor should render component 1`] = `
}
}
history={Array []}
onBlur={[Function]}
onChange={[MockFunction]}
onRunQuery={[MockFunction]}
query={

View File

@ -38,6 +38,7 @@ export function PromExploreQueryEditor(props: Props) {
query={query}
onRunQuery={onRunQuery}
onChange={onChange}
onBlur={() => {}}
history={history}
data={data}
ExtraFieldElement={

View File

@ -47,6 +47,7 @@ exports[`PromExploreQueryEditor should render component 1`] = `
}
datasource={Object {}}
history={Array []}
onBlur={[Function]}
onChange={[MockFunction]}
onRunQuery={[MockFunction]}
query={