Prometheus: Remove running of query on raw query toggle (#47938)
This commit is contained in:
-1
@@ -46,7 +46,6 @@ export const PromQueryEditorSelector = React.memo<PromQueryEditorProps>((props)
|
||||
const onQueryPreviewChange = (event: SyntheticEvent<HTMLInputElement>) => {
|
||||
const isEnabled = event.currentTarget.checked;
|
||||
onChange({ ...query, rawQuery: isEnabled });
|
||||
onRunQuery();
|
||||
};
|
||||
|
||||
const onChangeInternal = (query: PromQuery) => {
|
||||
|
||||
Reference in New Issue
Block a user