minor UI improvements - keep current behavior of showing originating post initially

This commit is contained in:
Henry Jameson 2019-03-21 23:27:14 +02:00
parent ee94a6732a
commit d6c62fa50f
2 changed files with 12 additions and 4 deletions

View file

@ -1,5 +1,4 @@
import Conversation from '../conversation/conversation.vue'
import { find } from 'lodash'
const conversationPage = {
components: {
@ -8,8 +7,8 @@ const conversationPage = {
computed: {
statusoid () {
const id = this.$route.params.id
const statuses = this.$store.state.statuses.allStatuses
const status = find(statuses, {id})
const statuses = this.$store.state.statuses.allStatusesObject
const status = statuses[id]
return status
}