use repeats intead boosts

This commit is contained in:
Maksim Pechnikov 2019-09-22 14:39:28 +03:00
parent 8ad145598d
commit f0b9f5d29c
3 changed files with 8 additions and 8 deletions

View file

@ -110,10 +110,10 @@ export default {
ProgressButton
},
methods: {
showReblogs () {
showRepeats () {
this.$store.dispatch('showReblogs', this.user.id)
},
hideReblogs () {
hideRepeats () {
this.$store.dispatch('hideReblogs', this.user.id)
},
followUser () {

View file

@ -189,16 +189,16 @@
<button
v-if="user.showing_reblogs"
class="btn btn-default"
:title="$t('user_card.hide_boosts', {user: user.screen_name})"
@click="hideReblogs"
:title="$t('user_card.hide_repeats')"
@click="hideRepeats"
>
<i class="icon-eye" />
</button>
<button
v-if="!user.showing_reblogs"
class="btn btn-default pressed"
:title="$t('user_card.show_boosts', {user: user.screen_name})"
@click="showReblogs"
:title="$t('user_card.show_repeats')"
@click="showRepeats"
>
<i class="icon-eye-off" />
</button>