prometheus: remove handling of control+enter (#40869)

we are standardizing on shift+enter
This commit is contained in:
Gábor Farkas
2021-10-25 12:20:13 +02:00
committed by GitHub
parent d1aefa1792
commit 9e030970aa

View File

@@ -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();
}
}