Fix keyboard shortcuts not working on the task detail page

This commit is contained in:
kolaente 2021-05-19 17:48:32 +02:00
parent 52a0884ca4
commit f01afe7f07
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -263,7 +263,7 @@
/> />
<x-button <x-button
@click="setFieldActive('assignees')" @click="setFieldActive('assignees')"
@shortkey="setFieldActive('assignees')" @shortkey.native="setFieldActive('assignees')"
type="secondary" type="secondary"
v-shortkey="['a']"> v-shortkey="['a']">
<span class="icon is-small"><icon icon="users"/></span> <span class="icon is-small"><icon icon="users"/></span>
@ -271,7 +271,7 @@
</x-button> </x-button>
<x-button <x-button
@click="setFieldActive('labels')" @click="setFieldActive('labels')"
@shortkey="setFieldActive('labels')" @shortkey.native="setFieldActive('labels')"
type="secondary" type="secondary"
v-shortkey="['l']" v-shortkey="['l']"
icon="tags" icon="tags"
@ -287,7 +287,7 @@
</x-button> </x-button>
<x-button <x-button
@click="setFieldActive('dueDate')" @click="setFieldActive('dueDate')"
@shortkey="setFieldActive('dueDate')" @shortkey.native="setFieldActive('dueDate')"
type="secondary" type="secondary"
v-shortkey="['d']" v-shortkey="['d']"
icon="calendar" icon="calendar"
@ -331,7 +331,7 @@
</x-button> </x-button>
<x-button <x-button
@click="setFieldActive('attachments')" @click="setFieldActive('attachments')"
@shortkey="setFieldActive('attachments')" @shortkey.native="setFieldActive('attachments')"
type="secondary" type="secondary"
v-shortkey="['f']" v-shortkey="['f']"
icon="paperclip" icon="paperclip"
@ -340,7 +340,7 @@
</x-button> </x-button>
<x-button <x-button
@click="setFieldActive('relatedTasks')" @click="setFieldActive('relatedTasks')"
@shortkey="setFieldActive('relatedTasks')" @shortkey.native="setFieldActive('relatedTasks')"
type="secondary" type="secondary"
v-shortkey="['r']" v-shortkey="['r']"
icon="tasks" icon="tasks"