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