update keyBy

This commit is contained in:
taehoon 2019-08-17 22:10:01 -04:00
parent 1146119d6a
commit 4bedbfea3c

View file

@ -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: {