Spaces:
Build error
Build error
Commit
·
9772fe4
1
Parent(s):
0f8dbb0
src/components/BenchmarkTable.tsx
CHANGED
|
@@ -64,9 +64,9 @@ export const BenchmarkTable: React.FC<BenchmarkTableProps> = ({
|
|
| 64 |
}))
|
| 65 |
);
|
| 66 |
|
| 67 |
-
const filtered = flat.filter((m) =>
|
| 68 |
-
|
| 69 |
-
);
|
| 70 |
|
| 71 |
|
| 72 |
return Array.from(new Map(filtered.map((m) => [m.value, m])).values());
|
|
|
|
| 64 |
}))
|
| 65 |
);
|
| 66 |
|
| 67 |
+
const filtered = flat.filter((m) =>
|
| 68 |
+
!selectedProviders.length || selectedProviders.includes(m.provider)
|
| 69 |
+
);
|
| 70 |
|
| 71 |
|
| 72 |
return Array.from(new Map(filtered.map((m) => [m.value, m])).values());
|