Unify the display name fallback behavior

This commit is contained in:
Paul Frazee 2023-05-17 14:38:23 -05:00
parent 4e56d24a9d
commit 9c02fbb925
3 changed files with 16 additions and 11 deletions

View file

@ -66,15 +66,11 @@ export class SavedFeedsModel {
}
get listOfFeedNames() {
return this.feeds.map(
f => f.data.displayName ?? f.data.creator.displayName + "'s feed",
)
return this.feeds.map(f => f.displayName)
}
get listOfPinnedFeedNames() {
return this.pinned.map(
f => f.data.displayName ?? f.data.creator.displayName + "'s feed",
)
return this.pinned.map(f => f.displayName)
}
get savedFeedsWithoutPinned() {