FEATURE: Add shortcut keys for save and execute for query editor (#299)
This is a very simple change that adds two shortcuts to the query editor in Data Explorer: `ctrl+s` to save, and `ctrl+enter` to save and run the query. Related meta topic: https://meta.discourse.org/t/wishlist-ctrl-enter-to-run-the-data-explorer-query-im-editing/280564
This commit is contained in:
parent
6e986c008c
commit
6db96d6687
|
@ -128,6 +128,8 @@
|
||||||
@mode="sql"
|
@mode="sql"
|
||||||
@disabled={{this.selectedItem.destroyed}}
|
@disabled={{this.selectedItem.destroyed}}
|
||||||
{{on "click" this.setDirty}}
|
{{on "click" this.setDirty}}
|
||||||
|
@save={{this.save}}
|
||||||
|
@submit={{this.saveAndRun}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue