add mention button

This commit is contained in:
taehoon 2019-09-17 15:59:17 -04:00
parent dcef84363f
commit 5ff899b455
3 changed files with 13 additions and 0 deletions

View file

@ -168,6 +168,9 @@ export default {
}
this.$store.dispatch('setMedia', [attachment])
this.$store.dispatch('setCurrent', attachment)
},
mentionUser () {
}
}
}

View file

@ -188,6 +188,15 @@
</ProgressButton>
</div>
<div>
<button
class="btn btn-default btn-block"
@click="mentionUser"
>
{{ $t('user_card.mention') }}
</button>
</div>
<div>
<button
v-if="user.muted"