aboutsummaryrefslogtreecommitdiff
path: root/src/components/conversation/conversation.js
diff options
context:
space:
mode:
authordave <starpumadev@gmail.com>2019-03-25 14:55:58 -0400
committerdave <starpumadev@gmail.com>2019-03-25 14:55:58 -0400
commit1a68a9db364de9511f89d39f12d329c92a532f04 (patch)
tree728ea4994df37f37ebc0328988a726bff66ab794 /src/components/conversation/conversation.js
parent6143b1ce0febe0451305918d1c735c4c23071701 (diff)
#433 - Fix conversation page highlight, fetch conversation on converation page
Diffstat (limited to 'src/components/conversation/conversation.js')
-rw-r--r--src/components/conversation/conversation.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/conversation/conversation.js b/src/components/conversation/conversation.js
index c57c7e06..f8887557 100644
--- a/src/components/conversation/conversation.js
+++ b/src/components/conversation/conversation.js
@@ -36,6 +36,11 @@ const conversation = {
'collapsable',
'isPage'
],
+ created () {
+ if (this.isPage) {
+ this.fetchConversation()
+ }
+ },
computed: {
status () {
return this.statusoid
@@ -140,7 +145,7 @@ const conversation = {
this.highlight = id
},
getHighlight () {
- return this.expanded ? this.highlight : null
+ return this.isExpanded ? this.highlight : null
},
toggleExpanded () {
this.expanded = !this.expanded