2017-02-04 23:52:26 +11:00
|
|
|
import Conversation from '../conversation/conversation.vue'
|
2019-01-11 10:40:17 +11:00
|
|
|
import { find } from 'lodash'
|
2017-02-04 23:52:26 +11:00
|
|
|
|
|
|
|
const conversationPage = {
|
|
|
|
components: {
|
|
|
|
Conversation
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
statusoid () {
|
2019-01-11 10:40:17 +11:00
|
|
|
const id = String(this.$route.params.id)
|
2017-02-04 23:52:26 +11:00
|
|
|
const statuses = this.$store.state.statuses.allStatuses
|
|
|
|
const status = find(statuses, {id})
|
|
|
|
|
|
|
|
return status
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default conversationPage
|