From da35d3945ce0f5028f26a7348664239754e9d571 Mon Sep 17 00:00:00 2001 From: Aleksandr Makhnev Date: Fri, 15 Mar 2024 19:06:30 +0500 Subject: [PATCH] fix: list of assets for dynamic derivations (#1581) --- .../Assets/Assets/components/AssetsList/AssetsList.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/renderer/pages/Assets/Assets/components/AssetsList/AssetsList.tsx b/src/renderer/pages/Assets/Assets/components/AssetsList/AssetsList.tsx index 92edce0003..ea442d518f 100644 --- a/src/renderer/pages/Assets/Assets/components/AssetsList/AssetsList.tsx +++ b/src/renderer/pages/Assets/Assets/components/AssetsList/AssetsList.tsx @@ -39,7 +39,13 @@ export const AssetsList = () => { const isMultisig = walletUtils.isMultisig(activeWallet); const availableChains = Object.values(chains).filter((chain) => { - return activeAccounts.some((account) => accountUtils.isChainIdAndCryptoTypeMatch(account, chain)); + return activeAccounts.some((account) => { + return ( + activeWallet && + accountUtils.isNonBaseVaultAccount(account, activeWallet) && + accountUtils.isChainIdAndCryptoTypeMatch(account, chain) + ); + }); }); const filteredChains = availableChains.filter((c) => {