Prometheus: Remove running of query on raw query toggle (#47938)

This commit is contained in:
Ivana Huckova 2022-04-20 13:33:59 +02:00 committed by GitHub
parent 8b4b57a6c6
commit 5c4459a723
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) => {