kopia lustrzana https://github.com/bugout-dev/moonstream
Merge pull request #496 from bugout-dev/fix-blockchain-keys-on-upload-abi
Add fix of keys.pull/497/head
commit
944ddb63a1
|
@ -40,6 +40,8 @@ logger = logging.getLogger(__name__)
|
||||||
blockchain_by_subscription_id = {
|
blockchain_by_subscription_id = {
|
||||||
"ethereum_blockchain": "ethereum",
|
"ethereum_blockchain": "ethereum",
|
||||||
"polygon_blockchain": "polygon",
|
"polygon_blockchain": "polygon",
|
||||||
|
"ethereum_smartcontract": "ethereum",
|
||||||
|
"polygon_smartcontract": "polygon",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -105,7 +105,9 @@ const NewDashboard = (props) => {
|
||||||
|
|
||||||
const filterFn = (item, inputValue) =>
|
const filterFn = (item, inputValue) =>
|
||||||
(item.subscription_type_id === "ethereum_blockchain" ||
|
(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 ||
|
(!inputValue ||
|
||||||
item.address.toUpperCase().includes(inputValue.toUpperCase()) ||
|
item.address.toUpperCase().includes(inputValue.toUpperCase()) ||
|
||||||
item.label.toUpperCase().includes(inputValue.toUpperCase()));
|
item.label.toUpperCase().includes(inputValue.toUpperCase()));
|
||||||
|
|
Ładowanie…
Reference in New Issue