summaryrefslogtreecommitdiff
path: root/src/client/app/common
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2018-12-27 23:14:30 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2018-12-27 23:14:30 +0900
commitfdd42fc2d7ee1aa84489e668971f013b6c06c3df (patch)
treea8f3949cdf24b2ef3fd2379b1961fa957fddc6f7 /src/client/app/common
parentSet cursor default on hover the own reaction (diff)
downloadmisskey-fdd42fc2d7ee1aa84489e668971f013b6c06c3df.tar.gz
misskey-fdd42fc2d7ee1aa84489e668971f013b6c06c3df.tar.bz2
misskey-fdd42fc2d7ee1aa84489e668971f013b6c06c3df.zip
user mention (#3771)
Diffstat (limited to 'src/client/app/common')
-rw-r--r--src/client/app/common/views/components/note-menu.vue11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/client/app/common/views/components/note-menu.vue b/src/client/app/common/views/components/note-menu.vue
index b8f34beb0c..df52df26cb 100644
--- a/src/client/app/common/views/components/note-menu.vue
+++ b/src/client/app/common/views/components/note-menu.vue
@@ -19,6 +19,13 @@ export default Vue.extend({
return concat(intersperse([null], [
[
[{
+ icon: 'at',
+ text: this.$t('mention'),
+ action: this.mention
+ }]
+ ],
+ [
+ [{
icon: 'info-circle',
text: this.$t('detail'),
action: this.detail
@@ -66,6 +73,10 @@ export default Vue.extend({
},
methods: {
+ mention() {
+ this.$post({ mention: this.note.user });
+ },
+
detail() {
this.$router.push(`/notes/${this.note.id}`);
},