forked from AkkomaGang/akkoma-fe
Clean up
This commit is contained in:
parent
f1db5e8f4b
commit
10cd03c718
1 changed files with 0 additions and 7 deletions
|
@ -346,11 +346,6 @@ const conversation = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
conversationFetched () {
|
|
||||||
if (!this.isExpanded) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
},
|
|
||||||
fetchConversation () {
|
fetchConversation () {
|
||||||
if (this.status) {
|
if (this.status) {
|
||||||
this.$store.state.api.backendInteractor.fetchConversation({ id: this.statusId })
|
this.$store.state.api.backendInteractor.fetchConversation({ id: this.statusId })
|
||||||
|
@ -359,7 +354,6 @@ const conversation = {
|
||||||
this.$store.dispatch('addNewStatuses', { statuses: descendants })
|
this.$store.dispatch('addNewStatuses', { statuses: descendants })
|
||||||
this.setHighlight(this.originalStatusId)
|
this.setHighlight(this.originalStatusId)
|
||||||
})
|
})
|
||||||
.then(this.conversationFetched)
|
|
||||||
} else {
|
} else {
|
||||||
this.$store.state.api.backendInteractor.fetchStatus({ id: this.statusId })
|
this.$store.state.api.backendInteractor.fetchStatus({ id: this.statusId })
|
||||||
.then((status) => {
|
.then((status) => {
|
||||||
|
@ -488,7 +482,6 @@ const conversation = {
|
||||||
ancestors.unshift(this.statusMap[cur])
|
ancestors.unshift(this.statusMap[cur])
|
||||||
cur = this.parentOf(cur)
|
cur = this.parentOf(cur)
|
||||||
}
|
}
|
||||||
// console.log('ancestors = ', ancestors, 'conversation = ', this.conversation.map(k => k.id), 'statusContentProperties=', this.statusContentProperties)
|
|
||||||
return ancestors
|
return ancestors
|
||||||
},
|
},
|
||||||
topLevelAncestorOrSelfId (id) {
|
topLevelAncestorOrSelfId (id) {
|
||||||
|
|
Loading…
Reference in a new issue