1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

fix: F9 key shortcut refresh all query tabs instead of just selected one

This commit is contained in:
2020-10-27 17:04:39 +01:00
parent 2e49d86677
commit c9ba2e5962
3 changed files with 8 additions and 5 deletions

View File

@ -187,8 +187,10 @@ export default {
},
onKey (e) {
e.stopPropagation();
if (e.key === 'F5')
this.reloadTable();
if (this.workspace.selected_tab === 'data') {
if (e.key === 'F5')
this.reloadTable();
}
},
setRefreshInterval () {
if (this.refreshInterval)