yandere_fe/src/components/conversation-page/conversation-page.js

20 lines
406 B
JavaScript
Raw Normal View History

import Conversation from '../conversation/conversation.vue'
import { find } from 'lodash'
const conversationPage = {
components: {
Conversation
},
computed: {
statusoid () {
const id = String(this.$route.params.id)
const statuses = this.$store.state.statuses.allStatuses
const status = find(statuses, {id})
return status
}
}
}
export default conversationPage