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