Browse Source
Merge pull request #1562 from FynnSu/master
Add keyboard shortcut back to accept button
pull/1570/head
Hiroki Nakayama
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
frontend/components/tasks/toolbar/buttons/ButtonReview.vue
|
@ -2,8 +2,10 @@ |
|
|
<v-tooltip bottom> |
|
|
<v-tooltip bottom> |
|
|
<template #activator="{ on }"> |
|
|
<template #activator="{ on }"> |
|
|
<v-btn |
|
|
<v-btn |
|
|
|
|
|
v-shortkey.once="['enter']" |
|
|
icon |
|
|
icon |
|
|
v-on="on" |
|
|
v-on="on" |
|
|
|
|
|
@shortkey="$emit('click:review')" |
|
|
@click="$emit('click:review')" |
|
|
@click="$emit('click:review')" |
|
|
> |
|
|
> |
|
|
<v-icon v-if="isReviewd"> |
|
|
<v-icon v-if="isReviewd"> |
|
|