mirror of
https://github.com/grafana/grafana.git
synced 2025-01-16 03:32: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>) {
|
||||
if (e.key === 'Enter' && (e.shiftKey || e.ctrlKey)) {
|
||||
if (e.key === 'Enter' && e.shiftKey) {
|
||||
onRunQuery();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user