2017-02-04 12:53:07 +00:00
|
|
|
import Status from '../status/status.vue'
|
|
|
|
import Conversation from '../conversation/conversation.vue'
|
|
|
|
|
|
|
|
const statusOrConversation = {
|
|
|
|
props: ['statusoid'],
|
|
|
|
data () {
|
|
|
|
return {
|
2019-03-11 14:52:28 +00:00
|
|
|
expanded: false,
|
|
|
|
replying: false
|
2017-02-04 12:53:07 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
components: {
|
|
|
|
Status,
|
|
|
|
Conversation
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
toggleExpanded () {
|
|
|
|
this.expanded = !this.expanded
|
2019-03-11 14:52:28 +00:00
|
|
|
},
|
|
|
|
toggleReplying () {
|
|
|
|
this.replying = !this.replying
|
2017-02-04 12:53:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default statusOrConversation
|