Merge pull request #2999 from beekeeper-studio/fix/config-keys

fix old config keys
This commit is contained in:
Mohammad Azmi
2025-04-11 14:18:10 +07:00
committed by GitHub
2 changed files with 6 additions and 6 deletions

View File

@@ -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() {

View File

@@ -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>