mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-08-03 16:55:24 +02:00
Fix GRID tab empty table regression by correcting filter logic and prop passing
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user