more lint
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user