forked from AkkomaGang/akkoma-fe
Apparently, MastoAPI gives status in ancestors if you try opening a repeat...
This commit is contained in:
parent
aed0943678
commit
31a71ee3ee
1 changed files with 2 additions and 2 deletions
|
@ -101,9 +101,9 @@ const conversation = {
|
||||||
this.$store.dispatch('addNewStatuses', { statuses: ancestors })
|
this.$store.dispatch('addNewStatuses', { statuses: ancestors })
|
||||||
this.$store.dispatch('addNewStatuses', { statuses: descendants })
|
this.$store.dispatch('addNewStatuses', { statuses: descendants })
|
||||||
set(this, 'converationStatusIds', [].concat(
|
set(this, 'converationStatusIds', [].concat(
|
||||||
ancestors.map(_ => _.id),
|
ancestors.map(_ => _.id).filter(_ => _ !== this.statusId),
|
||||||
this.statusId,
|
this.statusId,
|
||||||
descendants.map(_ => _.id)))
|
descendants.map(_ => _.id).filter(_ => _ !== this.statusId)))
|
||||||
})
|
})
|
||||||
.then(() => this.setHighlight(this.statusId))
|
.then(() => this.setHighlight(this.statusId))
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue