more lint

This commit is contained in:
Jake Kasper
2025-08-28 08:29:25 -05:00
parent 10c2810038
commit 7ab38f583e

View File

@@ -159,9 +159,9 @@ const History = () => {
// Property filter
if (propertyFilter !== 'all' && app.propertyName !== propertyFilter) return false;
// Product filter
if (productFilter !== 'all') {
if (!app.products || !app.products.some(p => p.productName === productFilter)) return false;
// Product filter - multi-select
if (selectedProducts.length > 0) {
if (!app.products || !app.products.some(p => selectedProducts.includes(p.productName))) return false;
}
return true;