fix status action buttons not updating state
This commit is contained in:
parent
a9c0edc92e
commit
f8ef76811e
1 changed files with 4 additions and 1 deletions
|
|
@ -136,6 +136,9 @@ const Status = {
|
|||
status() {
|
||||
return this.statusoid ?? useStatusesStore().allStatuses.get(this.statusId)
|
||||
},
|
||||
retweetedStatus() {
|
||||
return useStatusesStore().allStatuses.get(this.status.retweeted_status.id)
|
||||
},
|
||||
repeater() {
|
||||
return useUsersStore().findUser(this.status.user.id)
|
||||
},
|
||||
|
|
@ -205,7 +208,7 @@ const Status = {
|
|||
},
|
||||
mainStatus() {
|
||||
if (this.retweet) {
|
||||
return this.status.retweeted_status
|
||||
return this.retweetedStatus
|
||||
} else {
|
||||
return this.status
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue