fix status action buttons not updating state

This commit is contained in:
Henry Jameson 2026-08-21 15:50:00 +03:00
commit f8ef76811e

View file

@ -136,6 +136,9 @@ const Status = {
status() { status() {
return this.statusoid ?? useStatusesStore().allStatuses.get(this.statusId) return this.statusoid ?? useStatusesStore().allStatuses.get(this.statusId)
}, },
retweetedStatus() {
return useStatusesStore().allStatuses.get(this.status.retweeted_status.id)
},
repeater() { repeater() {
return useUsersStore().findUser(this.status.user.id) return useUsersStore().findUser(this.status.user.id)
}, },
@ -205,7 +208,7 @@ const Status = {
}, },
mainStatus() { mainStatus() {
if (this.retweet) { if (this.retweet) {
return this.status.retweeted_status return this.retweetedStatus
} else { } else {
return this.status return this.status
} }