generate idObj at timeline level

This commit is contained in:
taehoon 2019-08-15 13:16:55 -04:00
parent 4b444708f2
commit 1146119d6a
4 changed files with 7 additions and 7 deletions

View file

@ -1,4 +1,4 @@
import { reduce, filter, findIndex, clone, keyBy } from 'lodash'
import { reduce, filter, findIndex, clone } from 'lodash'
import Status from '../status/status.vue'
const sortById = (a, b) => {
@ -42,7 +42,7 @@ const conversation = {
'statusoid',
'collapsable',
'isPage',
'pinnedStatusIds'
'pinnedStatusIdsObject'
],
created () {
if (this.isPage) {
@ -104,9 +104,6 @@ const conversation = {
},
isExpanded () {
return this.expanded || this.isPage
},
pinnedStatusIdsObject () {
return keyBy(this.pinnedStatusIds, id => id)
}
},
components: {