mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
prometheus: remove handling of control+enter (#40869)
we are standardizing on shift+enter
This commit is contained in:
parent
d1aefa1792
commit
9e030970aa
@ -48,7 +48,7 @@ export const PromExploreExtraField: React.FC<PromExploreExtraFieldProps> = memo(
|
|||||||
}
|
}
|
||||||
|
|
||||||
function onReturnKeyDown(e: React.KeyboardEvent<HTMLInputElement>) {
|
function onReturnKeyDown(e: React.KeyboardEvent<HTMLInputElement>) {
|
||||||
if (e.key === 'Enter' && (e.shiftKey || e.ctrlKey)) {
|
if (e.key === 'Enter' && e.shiftKey) {
|
||||||
onRunQuery();
|
onRunQuery();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user