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

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) {