aboutsummaryrefslogtreecommitdiff
path: root/src/components/conversation/conversation.js
diff options
context:
space:
mode:
authordave <starpumadev@gmail.com>2019-02-12 10:35:54 -0500
committerdave <starpumadev@gmail.com>2019-02-12 10:35:54 -0500
commit25bb80a9820681f44fb6684d7cddd5b3457e4d80 (patch)
tree4c196c42a3f7c19c17be1b1358a6f1dbf5061c79 /src/components/conversation/conversation.js
parent493d542d9292f580460ddec78f9083b9fbae99ec (diff)
#341 - fix naming
Diffstat (limited to 'src/components/conversation/conversation.js')
-rw-r--r--src/components/conversation/conversation.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/conversation/conversation.js b/src/components/conversation/conversation.js
index 93e168d7..2f7852b8 100644
--- a/src/components/conversation/conversation.js
+++ b/src/components/conversation/conversation.js
@@ -36,7 +36,7 @@ const conversation = {
status () {
return this.statusoid
},
- actualId () {
+ statusId () {
if (this.statusoid.retweeted_status) {
return this.statusoid.retweeted_status.id
} else {
@@ -86,7 +86,7 @@ const conversation = {
const conversationId = this.status.statusnet_conversation_id
this.$store.state.api.backendInteractor.fetchConversation({id: conversationId})
.then((statuses) => this.$store.dispatch('addNewStatuses', { statuses }))
- .then(() => this.setHighlight(this.actualId))
+ .then(() => this.setHighlight(this.statusId))
} else {
const id = this.$route.params.id
this.$store.state.api.backendInteractor.fetchStatus({id})
@@ -98,7 +98,7 @@ const conversation = {
return this.replies[id] || []
},
focused (id) {
- return id === this.actualId
+ return id === this.statusId
},
setHighlight (id) {
this.highlight = id