mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
@@ -66,6 +66,7 @@ export function LokiExploreQueryEditor(props: Props) {
|
|||||||
datasource={datasource}
|
datasource={datasource}
|
||||||
query={query}
|
query={query}
|
||||||
onChange={onChange}
|
onChange={onChange}
|
||||||
|
onBlur={() => {}}
|
||||||
onRunQuery={onRunQuery}
|
onRunQuery={onRunQuery}
|
||||||
history={history}
|
history={history}
|
||||||
data={data}
|
data={data}
|
||||||
|
|||||||
@@ -99,6 +99,7 @@ exports[`LokiExploreQueryEditor should render component 1`] = `
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
history={Array []}
|
history={Array []}
|
||||||
|
onBlur={[Function]}
|
||||||
onChange={[MockFunction]}
|
onChange={[MockFunction]}
|
||||||
onRunQuery={[MockFunction]}
|
onRunQuery={[MockFunction]}
|
||||||
query={
|
query={
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ export function PromExploreQueryEditor(props: Props) {
|
|||||||
query={query}
|
query={query}
|
||||||
onRunQuery={onRunQuery}
|
onRunQuery={onRunQuery}
|
||||||
onChange={onChange}
|
onChange={onChange}
|
||||||
|
onBlur={() => {}}
|
||||||
history={history}
|
history={history}
|
||||||
data={data}
|
data={data}
|
||||||
ExtraFieldElement={
|
ExtraFieldElement={
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ exports[`PromExploreQueryEditor should render component 1`] = `
|
|||||||
}
|
}
|
||||||
datasource={Object {}}
|
datasource={Object {}}
|
||||||
history={Array []}
|
history={Array []}
|
||||||
|
onBlur={[Function]}
|
||||||
onChange={[MockFunction]}
|
onChange={[MockFunction]}
|
||||||
onRunQuery={[MockFunction]}
|
onRunQuery={[MockFunction]}
|
||||||
query={
|
query={
|
||||||
|
|||||||
Reference in New Issue
Block a user