#433 - Fix conversation page highlight, fetch conversation on converation page
This commit is contained in:
parent
6143b1ce0f
commit
1a68a9db36
|
@ -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
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
:statusoid="status"
|
||||
:expandable='!expanded'
|
||||
:focused="focused(status.id)"
|
||||
:inConversation="expanded"
|
||||
:inConversation="isExpanded"
|
||||
:highlight="getHighlight()"
|
||||
:replies="getReplies(status.id)"
|
||||
class="status-fadein"
|
||||
|
|
Loading…
Reference in New Issue