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
1 day ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
2 additions and
1 deletions
-
CHANGELOG.md
-
apps/api/src/app/endpoints/watchlist/watchlist.service.ts
|
|
@ -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 |
|
|
|
|
|
|
|
|
|
|
|
@ -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 ?? ''); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|