saved feeds in tab bar

This commit is contained in:
Ansh Nanda 2023-05-15 11:00:54 -07:00
parent 5010861160
commit d7e39bde12
5 changed files with 50 additions and 22 deletions

View file

@ -41,6 +41,16 @@ export class SavedFeedsModel {
return this.hasLoaded && !this.hasContent
}
get numOfFeeds() {
return this.feeds.length
}
get listOfFeedNames() {
return this.feeds.map(
f => f.data.displayName ?? f.data.creator.displayName + "'s feed",
)
}
// public api
// =