Improve pinned feed management
This commit is contained in:
@@ -81,7 +81,7 @@ export class SavedFeedsModel {
|
||||
|
||||
togglePinnedFeed(feed: CustomFeedModel) {
|
||||
if (!this.isPinned(feed)) {
|
||||
this.pinned.push(feed)
|
||||
this.pinned = [...this.pinned, feed]
|
||||
} else {
|
||||
this.removePinnedFeed(feed.data.uri)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user