mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 20:24:18 -06:00
Prometheus: Remove running of query on raw query toggle (#47938)
This commit is contained in:
parent
8b4b57a6c6
commit
5c4459a723
@ -46,7 +46,6 @@ export const PromQueryEditorSelector = React.memo<PromQueryEditorProps>((props)
|
|||||||
const onQueryPreviewChange = (event: SyntheticEvent<HTMLInputElement>) => {
|
const onQueryPreviewChange = (event: SyntheticEvent<HTMLInputElement>) => {
|
||||||
const isEnabled = event.currentTarget.checked;
|
const isEnabled = event.currentTarget.checked;
|
||||||
onChange({ ...query, rawQuery: isEnabled });
|
onChange({ ...query, rawQuery: isEnabled });
|
||||||
onRunQuery();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const onChangeInternal = (query: PromQuery) => {
|
const onChangeInternal = (query: PromQuery) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user