change subscribing to subscribed

This commit is contained in:
taehoon 2019-04-25 12:33:50 -04:00
parent 0c52d69a52
commit 670cbfdd1c
3 changed files with 3 additions and 3 deletions

View file

@ -73,7 +73,7 @@
</span>
</div>
<div v-if="loggedIn">
<ProgressButton :click="subscribeUser" v-if="!user.subscribing">
<ProgressButton :click="subscribeUser" v-if="!user.subscribed">
{{ $t('user_card.subscribe') }}
</ProgressButton>
<ProgressButton class="pressed" :click="unsubscribeUser" v-else>

View file

@ -135,7 +135,7 @@ export const mutations = {
user.following = relationship.following
user.muted = relationship.muting
user.statusnet_blocking = relationship.blocking
user.subscribing = relationship.subscribing
user.subscribed = relationship.subscribing
}
})
},

View file

@ -68,7 +68,7 @@ export const parseUser = (data) => {
output.following = relationship.following
output.statusnet_blocking = relationship.blocking
output.muted = relationship.muting
output.subscribing = relationship.subscribing
output.subscribed = relationship.subscribing
}
output.hide_follows = data.pleroma.hide_follows