diff options
| author | taehoon <th.dev91@gmail.com> | 2019-08-15 13:16:55 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-08-17 14:33:32 -0400 |
| commit | 1146119d6af4bdd3d15bd635806520df78504ad2 (patch) | |
| tree | 02daff40999135cb1849aae9a8935db48db33efc /src/components/conversation/conversation.js | |
| parent | 4b444708f2594028e47dad91f1e90728592474ae (diff) | |
generate idObj at timeline level
Diffstat (limited to 'src/components/conversation/conversation.js')
| -rw-r--r-- | src/components/conversation/conversation.js | 7 |
1 files changed, 2 insertions, 5 deletions
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: { |
