Extend filters on new dashboard component.

pull/496/head
Andrey Dolgolev 2021-12-13 19:50:59 +02:00
rodzic 48b0db5742
commit 5cc967fd39
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -105,7 +105,9 @@ const NewDashboard = (props) => {
const filterFn = (item, inputValue) =>
(item.subscription_type_id === "ethereum_blockchain" ||
item.subscription_type_id === "polygon_blockchain") &&
item.subscription_type_id === "polygon_blockchain" ||
item.subscription_type_id === "polygon_smartcontract" ||
item.subscription_type_id === "polygon_smartcontract") &&
(!inputValue ||
item.address.toUpperCase().includes(inputValue.toUpperCase()) ||
item.label.toUpperCase().includes(inputValue.toUpperCase()));