mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
correct filtering
This commit is contained in:
1 parent
cbf320454f
commit
5d4e0541b2
2 files changed
+2
-4
No files matched your search
@@ -23,7 +23,7 @@ export function TankopediaCharacteristics({
|
||||
<div className={styles.characteristics}>
|
||||
{characteristicsGroups.map((group) => {
|
||||
const items = group.order.filter(
|
||||
(item) => "name" in item && characteristics[item.name] !== null,
|
||||
(item) => "name" in item && item.name in characteristics,
|
||||
).length;
|
||||
const shouldRender = items > 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user