From 5cc967fd391e416ecf949db7e343d1c85975d272 Mon Sep 17 00:00:00 2001 From: Andrey Dolgolev Date: Mon, 13 Dec 2021 19:50:59 +0200 Subject: [PATCH] Extend filters on new dashboard component. --- frontend/src/components/NewDashboard.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/NewDashboard.js b/frontend/src/components/NewDashboard.js index 840fb26c..4533672d 100644 --- a/frontend/src/components/NewDashboard.js +++ b/frontend/src/components/NewDashboard.js @@ -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()));