Browse Source

Bugfix/fix watchlist sorting for asset profiles without name (#7921)

* Fix sorting of watchlist items without a name

* Update changelog
pull/7904/head
Thomas Kaul 24 hours ago
committed by GitHub
parent
commit
920eb697f4
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 2
      apps/api/src/app/endpoints/watchlist/watchlist.service.ts

1
CHANGELOG.md

@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed ### Fixed
- Fixed the wrapping of the name column in the accounts table component on mobile - Fixed the wrapping of the name column in the accounts table component on mobile
- Fixed the sorting of the watchlist for asset profiles without a name
## 3.73.0 - 2026-09-26 ## 3.73.0 - 2026-09-26

2
apps/api/src/app/endpoints/watchlist/watchlist.service.ts

@ -151,7 +151,7 @@ export class WatchlistService {
); );
return watchlist.sort((a, b) => { return watchlist.sort((a, b) => {
return a.name.localeCompare(b.name); return (a.name ?? '').localeCompare(b.name ?? '');
}); });
} }

Loading…
Cancel
Save