mirror of https://github.com/apache/superset.git
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() {
|
||||
return [
|
||||
{
|
||||
name: 'runQuery',
|
||||
name: 'runQuery1',
|
||||
key: 'ctrl+r',
|
||||
descr: 'Run query',
|
||||
func: this.runQuery,
|
||||
},
|
||||
{
|
||||
name: 'runQuery2',
|
||||
key: 'ctrl+enter',
|
||||
descr: 'Run query',
|
||||
func: this.runQuery,
|
||||
},
|
||||
{
|
||||
name: 'newTab',
|
||||
key: 'ctrl+t',
|
||||
|
|
Loading…
Reference in New Issue