forked from AkkomaGang/akkoma-fe
update keyBy
This commit is contained in:
parent
1146119d6a
commit
4bedbfea3c
1 changed files with 2 additions and 2 deletions
|
@ -58,10 +58,10 @@ const Timeline = {
|
||||||
excludedStatusIdsObject () {
|
excludedStatusIdsObject () {
|
||||||
const ids = getExcludedStatusIdsByPinning(this.timeline.visibleStatuses, this.pinnedStatusIds)
|
const ids = getExcludedStatusIdsByPinning(this.timeline.visibleStatuses, this.pinnedStatusIds)
|
||||||
// Convert id array to object
|
// Convert id array to object
|
||||||
return keyBy(ids, id => id)
|
return keyBy(ids)
|
||||||
},
|
},
|
||||||
pinnedStatusIdsObject () {
|
pinnedStatusIdsObject () {
|
||||||
return keyBy(this.pinnedStatusIds, id => id)
|
return keyBy(this.pinnedStatusIds)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
|
Loading…
Reference in a new issue