Merge pull request #496 from bugout-dev/fix-blockchain-keys-on-upload-abi

Add fix of keys.
pull/497/head
Andrei-Dolgolev 2021-12-13 20:00:13 +02:00 zatwierdzone przez GitHub
commit 944ddb63a1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -40,6 +40,8 @@ logger = logging.getLogger(__name__)
blockchain_by_subscription_id = {
"ethereum_blockchain": "ethereum",
"polygon_blockchain": "polygon",
"ethereum_smartcontract": "ethereum",
"polygon_smartcontract": "polygon",
}

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 === "ethereum_smartcontract") &&
(!inputValue ||
item.address.toUpperCase().includes(inputValue.toUpperCase()) ||
item.label.toUpperCase().includes(inputValue.toUpperCase()));