added windows shortcut for spotlight

This commit is contained in:
Milos Holba
2022-02-01 14:21:12 +01:00
parent 2ca42f530b
commit 45a46bbc65
5 changed files with 34 additions and 8 deletions
@@ -31,6 +31,7 @@
@keydown.delete="undoFilter"
@keydown.enter="showSelected"
@keydown.meta="showByShortcut"
@keydown.ctrl="showByShortcut"
@keyup.down="onPageDown"
@keyup.up="onPageUp"
type="text"
@@ -480,7 +481,7 @@ export default {
return this.user.data.attributes.role === 'admin'
},
metaKeyIcon() {
return this.$isApple() ? '⌘' : 'alt'
return this.$isApple() ? '⌘' : 'Ctrl'
},
isNotEmptyQuery() {
return this.query !== ''