Browse Source
Task/refactor sorting of benchmarks without a name (#7922)
Refactor sorting
task/rename-net-performance-percentages-to-performance-percentages
Thomas Kaul
1 week ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
apps/api/src/services/benchmark/benchmark.service.ts
|
|
|
@ -138,7 +138,7 @@ export class BenchmarkService { |
|
|
|
}; |
|
|
|
}) |
|
|
|
.sort((a, b) => { |
|
|
|
return a.name?.localeCompare(b?.name) ?? 0; |
|
|
|
return (a.name ?? '').localeCompare(b.name ?? ''); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|