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/timeline/timeline.js | |
| parent | 4b444708f2594028e47dad91f1e90728592474ae (diff) | |
generate idObj at timeline level
Diffstat (limited to 'src/components/timeline/timeline.js')
| -rw-r--r-- | src/components/timeline/timeline.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index aac3869f..2e317e8e 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -59,6 +59,9 @@ const Timeline = { const ids = getExcludedStatusIdsByPinning(this.timeline.visibleStatuses, this.pinnedStatusIds) // Convert id array to object return keyBy(ids, id => id) + }, + pinnedStatusIdsObject () { + return keyBy(this.pinnedStatusIds, id => id) } }, components: { |
