mirror of
https://github.com/beekeeper-studio/beekeeper-studio.git
synced 2026-03-13 10:12:54 +08:00
Merge pull request #2999 from beekeeper-studio/fix/config-keys
fix old config keys
This commit is contained in:
@@ -142,10 +142,10 @@ export default Vue.extend({
|
||||
hotkeys() {
|
||||
if (!this.active) return {}
|
||||
return this.$vHotkeyKeymap({
|
||||
'refresh': () => this.$emit('refresh'),
|
||||
'addRow': this.addRow.bind(this),
|
||||
'submitApply': this.submitApply.bind(this),
|
||||
'submitSql': this.submitSql.bind(this)
|
||||
'general.refresh': () => this.$emit('refresh'),
|
||||
'general.addRow': this.addRow.bind(this),
|
||||
'general.save': this.submitApply.bind(this),
|
||||
'general.openInSqlEditor': this.submitSql.bind(this)
|
||||
})
|
||||
},
|
||||
notice() {
|
||||
|
||||
@@ -184,7 +184,7 @@
|
||||
|
||||
<!-- Actions -->
|
||||
<x-button
|
||||
v-tooltip="`Refresh Table (${$bksConfig.keybindings.tableTable.refresh})`"
|
||||
v-tooltip="`Refresh Table (${$bksConfig.keybindings.general.refresh})`"
|
||||
class="btn btn-flat"
|
||||
@click="refreshTable"
|
||||
>
|
||||
@@ -192,7 +192,7 @@
|
||||
</x-button>
|
||||
<x-button
|
||||
class="btn btn-flat"
|
||||
v-tooltip="`Add row (${$bksConfig.keybindings.tableTable.addRow})`"
|
||||
v-tooltip="`Add row (${$bksConfig.keybindings.general.addRow})`"
|
||||
@click.prevent="cellAddRow"
|
||||
>
|
||||
<i class="material-icons">add</i>
|
||||
|
||||
Reference in New Issue
Block a user