From 1146119d6af4bdd3d15bd635806520df78504ad2 Mon Sep 17 00:00:00 2001
From: taehoon
Date: Thu, 15 Aug 2019 13:16:55 -0400
Subject: generate idObj at timeline level
---
src/components/conversation/conversation.js | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
(limited to 'src/components/conversation/conversation.js')
diff --git a/src/components/conversation/conversation.js b/src/components/conversation/conversation.js
index cb4db8ea..19dcb257 100644
--- a/src/components/conversation/conversation.js
+++ b/src/components/conversation/conversation.js
@@ -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: {
--
cgit v1.2.3-70-g09d2