Fix target account link
This commit is contained in:
parent
6af870cd90
commit
31aa177eea
2 changed files with 13 additions and 1 deletions
|
@ -55,6 +55,18 @@ const Notification = {
|
|||
userProfileLink () {
|
||||
return this.generateUserProfileLink(this.user)
|
||||
},
|
||||
targetUserInStore () {
|
||||
return this.$store.getters.findUser(this.notification.target.id)
|
||||
},
|
||||
targetUser () {
|
||||
if (this.targetUserInStore) {
|
||||
return this.targetUserInStore
|
||||
}
|
||||
return this.notification.target
|
||||
},
|
||||
targetUserProfileLink () {
|
||||
return this.generateUserProfileLink(this.targetUser)
|
||||
},
|
||||
needMute () {
|
||||
return this.user.muted
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue