Open profile using shortcut in follow notification
This commit is contained in:
parent
555e28bff3
commit
8e0bfbe1d4
|
@ -2,7 +2,7 @@
|
|||
<div
|
||||
class="follow"
|
||||
tabIndex="0"
|
||||
v-shortkey="shortcutEnabled ? {next: ['j'], prev: ['k']} : {}"
|
||||
v-shortkey="shortcutEnabled ? {next: ['j'], prev: ['k'], profile: ['p']} : {}"
|
||||
@shortkey="handleStatusControl"
|
||||
ref="status"
|
||||
@click="$emit('select')"
|
||||
|
@ -84,6 +84,9 @@ export default {
|
|||
case 'prev':
|
||||
this.$emit('focusPrev')
|
||||
break
|
||||
case 'profile':
|
||||
this.openUser(this.message.account)
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue