mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
Add option to run query with ctrl+enter (#5622)
This commit is contained in:
parent
536478e96d
commit
5c1d906976
@ -99,11 +99,17 @@ class SqlEditor extends React.PureComponent {
|
|||||||
getHotkeyConfig() {
|
getHotkeyConfig() {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
name: 'runQuery',
|
name: 'runQuery1',
|
||||||
key: 'ctrl+r',
|
key: 'ctrl+r',
|
||||||
descr: 'Run query',
|
descr: 'Run query',
|
||||||
func: this.runQuery,
|
func: this.runQuery,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'runQuery2',
|
||||||
|
key: 'ctrl+enter',
|
||||||
|
descr: 'Run query',
|
||||||
|
func: this.runQuery,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'newTab',
|
name: 'newTab',
|
||||||
key: 'ctrl+t',
|
key: 'ctrl+t',
|
||||||
|
Loading…
Reference in New Issue
Block a user