Browse Source

Refactor sorting of benchmarks without a name

pull/7922/head
Thomas Kaul 4 weeks ago
parent
commit
0cbe0a65ab
  1. 2
      apps/api/src/services/benchmark/benchmark.service.ts

2
apps/api/src/services/benchmark/benchmark.service.ts

@ -138,7 +138,7 @@ export class BenchmarkService {
}; };
}) })
.sort((a, b) => { .sort((a, b) => {
return a.name?.localeCompare(b?.name) ?? 0; return (a.name ?? '').localeCompare(b.name ?? '');
}); });
} }

Loading…
Cancel
Save