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

This commit is contained in:
Ivana Huckova authored and GitHub committed 2022-04-20 13:33:59 +02:00
1 parent 8b4b57a6c6
commit 5c4459a723
1 file changed
-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) => {