We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c232f2b commit 6bf2754Copy full SHA for 6bf2754
src/components/conformance/ResultsDisplay/components/SuiteSelector/index.tsx
@@ -15,8 +15,9 @@ export default function SuiteSelector(props: SelectorProps): JSX.Element {
15
{props.suites
16
.sort((a, b) => a.name.localeCompare(b.name))
17
.filter((suite) => {
18
- let versionStats: TestStats = suite.versionedStats[props.esFlag];
19
- return versionStats.total !== 0;
+ const stats: TestStats =
+ suite.versionedStats[props.esFlag] ?? suite.stats;
20
+ return stats.total !== 0;
21
})
22
.map((suite) => {
23
return (
0 commit comments