|
|
@ -56,7 +56,8 @@ const conversation = {
|
|
|
|
expanded: false,
|
|
|
|
expanded: false,
|
|
|
|
threadDisplayStatusObject: {}, // id => 'showing' | 'hidden'
|
|
|
|
threadDisplayStatusObject: {}, // id => 'showing' | 'hidden'
|
|
|
|
statusContentPropertiesObject: {},
|
|
|
|
statusContentPropertiesObject: {},
|
|
|
|
inlineDivePosition: null
|
|
|
|
inlineDivePosition: null,
|
|
|
|
|
|
|
|
loadStatusError: null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
props: [
|
|
|
|
props: [
|
|
|
@ -392,11 +393,15 @@ const conversation = {
|
|
|
|
this.setHighlight(this.originalStatusId)
|
|
|
|
this.setHighlight(this.originalStatusId)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|
|
|
|
this.loadStatusError = null
|
|
|
|
this.$store.state.api.backendInteractor.fetchStatus({ id: this.statusId })
|
|
|
|
this.$store.state.api.backendInteractor.fetchStatus({ id: this.statusId })
|
|
|
|
.then((status) => {
|
|
|
|
.then((status) => {
|
|
|
|
this.$store.dispatch('addNewStatuses', { statuses: [status] })
|
|
|
|
this.$store.dispatch('addNewStatuses', { statuses: [status] })
|
|
|
|
this.fetchConversation()
|
|
|
|
this.fetchConversation()
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
.catch((error) => {
|
|
|
|
|
|
|
|
this.loadStatusError = error
|
|
|
|
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
getReplies (id) {
|
|
|
|
getReplies (id) {
|
|
|
|