diff options
author | Nick Coutsos <[email protected]> | 2021-11-13 20:13:07 -0500 |
---|---|---|
committer | Nick Coutsos <[email protected]> | 2021-11-13 20:13:07 -0500 |
commit | 4768c47cee5d8a0c8d712b81aef760578a9cf6a9 (patch) | |
tree | fe3a3cff9080e4e6ffcabead68b795b3e2da1e65 | |
parent | 85d905380bfe64c1acb8172b2333ac969a8d8e2c (diff) | |
download | keymap-editor-4768c47cee5d8a0c8d712b81aef760578a9cf6a9.tar.gz keymap-editor-4768c47cee5d8a0c8d712b81aef760578a9cf6a9.zip |
Easily reload keyboard data
-rw-r--r-- | application/components/app.vue | 1 | ||||
-rw-r--r-- | application/components/github/picker.vue | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/application/components/app.vue b/application/components/app.vue index 38443b5..bdce49c 100644 --- a/application/components/app.vue +++ b/application/components/app.vue @@ -34,6 +34,7 @@ export default { this.sourceOther = other this.layout.splice(0, this.layout.length, ...layout) Object.assign(this.keymap, keymap) + this.editingKeymap = {} }, handleUpdateKeymap(keymap) { Object.assign(this.editingKeymap, keymap) diff --git a/application/components/github/picker.vue b/application/components/github/picker.vue index 7f40a7f..9c73c89 100644 --- a/application/components/github/picker.vue +++ b/application/components/github/picker.vue @@ -43,6 +43,12 @@ :errors="loadKeyboardWarnings" @dismiss="loadKeyboardWarnings = null" /> + + <button + v-if="branchName && !loadingKeyboard" + @click="loadKeyboard" + class="fa fa-sync" + /> </span> </loader> </template> |