Fix GRID tab empty table regression by correcting filter logic and prop passing

This commit is contained in:
Christian Vidal Wolf
2026-02-09 12:05:03 +01:00
parent ac791b5265
commit d5bcbeda1a
3 changed files with 8 additions and 16 deletions
+1 -1
View File
@@ -917,7 +917,7 @@ export const filterData = (
// 2. Filter Checks
const customerMatch = filters.customer.length === 0
? PAN_EU_COUNTRIES.includes(item.customer)
? (PAN_EU_COUNTRIES.includes(item.customer) || item.customer === 'Pan-EU')
: filters.customer.includes(item.customer);
const yearMatch = filters.year.length === 0 || filters.year.includes(item.year.toString());