diff options
| author | taehoon <th.dev91@gmail.com> | 2019-08-17 22:10:01 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-08-17 22:10:01 -0400 |
| commit | 4bedbfea3c315b67b1d5d0818880dde46b9af0b5 (patch) | |
| tree | 80c83a1ee5088fcbcfa14e2de5ffd03d408cd39f | |
| parent | 1146119d6af4bdd3d15bd635806520df78504ad2 (diff) | |
update keyBy
| -rw-r--r-- | src/components/timeline/timeline.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index 2e317e8e..8df48f7f 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -58,10 +58,10 @@ const Timeline = { excludedStatusIdsObject () { const ids = getExcludedStatusIdsByPinning(this.timeline.visibleStatuses, this.pinnedStatusIds) // Convert id array to object - return keyBy(ids, id => id) + return keyBy(ids) }, pinnedStatusIdsObject () { - return keyBy(this.pinnedStatusIds, id => id) + return keyBy(this.pinnedStatusIds) } }, components: { |
