feat: Update ShortKey for stop query running in SqlLab editor (#19692)

* feat: Update shortkey for stop query running in sqllab editor

* resolve comment

* fix invalid import useMemo
This commit is contained in:
Smart-Codi
2022-04-26 23:12:47 -04:00
committed by GitHub
parent 1d043e53d0
commit 60e06c1692
16 changed files with 28 additions and 3 deletions

View File

@@ -357,7 +357,7 @@ class SqlEditor extends React.PureComponent {
},
{
name: 'stopQuery',
key: 'ctrl+x',
key: userOS === 'MacOS' ? 'ctrl+x' : 'ctrl+e',
descr: t('Stop query'),
func: this.stopQuery,
},