Skip to content

Commit

Permalink
fix: sorting in the feed information table changes also the original …
Browse files Browse the repository at this point in the history
…sorting

Signed-off-by: Wolfgang <[email protected]>
  • Loading branch information
wofferl committed Jan 3, 2025
1 parent 6218b02 commit 0ca9de0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ You can also check [on GitHub](https://github.com/nextcloud/news/releases), the
### Fixed
- OPML import use text field for title if title field is missing (#3016)
- style fixes in settings section and feed info table
- sorting in the feed information table changes also the original sorting

# Releases
## [25.2.0-beta.2] - 2024-01-02
Expand Down
2 changes: 1 addition & 1 deletion src/components/modals/FeedInfoTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default {
feeds: state => state.feeds.feeds,
}),
sortedFeeds() {
const sorted = this.feeds
const sorted = [...this.feeds]
if (this.sortKey) {
sorted.sort((a, b) => {
const valueA = a[this.sortKey]
Expand Down

0 comments on commit 0ca9de0

Please sign in to comment.