shortkeys
shortkeys copied to clipboard
Deleting a shortcut also deletes the row with the same shortcut key
When deleting the first shortcut, the second one is also deleted. Eample
- Shortcut
afor site A - Shortcut
afor site B
Relevant code:
https://github.com/crittermike/shortkeys/blob/83750b29091aed50f04af05f384a1bb3f61ca64a/app/options/options.vue#L253-L256
Should probably be changed to regular reference equality, if that works:
- onConfirm: () => this.keys = this.keys.filter(curKey => key.key !== curKey.key)
+ onConfirm: () => this.keys = this.keys.filter(curKey => key !== curKey)