slight performance improvements

This commit is contained in:
Ansh Nanda 2023-05-23 15:28:46 -07:00
parent b561a51ed9
commit fc9e28ca72
4 changed files with 33 additions and 4 deletions

View file

@ -47,6 +47,10 @@ export class SavedFeedsModel {
return this.feeds.filter(f => !this.isPinned(f))
}
get all() {
return this.pinned.concat(this.unpinned)
}
get pinnedFeedNames() {
return this.pinned.map(f => f.displayName)
}