status attention doesn’t have relationship entities

This commit is contained in:
taehoon 2019-05-06 16:41:12 -04:00
parent 44a18eb838
commit 134b1894d6
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ const Status = {
if (this.status.user.id === this.status.attentions[i].id) {
continue
}
if (checkFollowing && this.status.attentions[i].following) {
if (checkFollowing && this.$store.getters.findUser(this.status.attentions[i].id).following) {
return false
}
if (this.status.attentions[i].id === this.$store.state.users.currentUser.id) {