diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2018-12-27 23:14:30 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2018-12-27 23:14:30 +0900 |
| commit | fdd42fc2d7ee1aa84489e668971f013b6c06c3df (patch) | |
| tree | a8f3949cdf24b2ef3fd2379b1961fa957fddc6f7 /src/client/app/common | |
| parent | Set cursor default on hover the own reaction (diff) | |
| download | misskey-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.vue | 11 |
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}`); }, |