Only render categories in overview if there is data

Red #7025
This commit is contained in:
Matthias Mair 2024-04-16 21:15:20 +02:00
parent 5bf246c478
commit 590d70a8da
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A

View File

@ -135,7 +135,7 @@ export default function PricingOverviewPanel({
max_value: pricing?.overall_max
}
].filter((entry) => {
return entry.min_value !== null || entry.max_value !== null;
return !(entry.min_value == null || entry.max_value == null);
});
}, [part, pricing]);