diff --git a/ui/imports/shared/popups/SendModal.qml b/ui/imports/shared/popups/SendModal.qml index 53e3e772b2..67b01ab745 100644 --- a/ui/imports/shared/popups/SendModal.qml +++ b/ui/imports/shared/popups/SendModal.qml @@ -139,7 +139,7 @@ StatusDialog { } // add networks that are down to disabled list - if(!!d.networkConnectionStore.blockchainNetworksDown) { + if(d.networkConnectionStore.blockchainNetworksDown.length !== 0) { for(let i in d.networkConnectionStore.blockchainNetworksDown) { store.addRemoveDisabledToChain(parseInt(d.networkConnectionStore.blockchainNetworksDown[i]), true) } diff --git a/ui/imports/shared/stores/NetworkConnectionStore.qml b/ui/imports/shared/stores/NetworkConnectionStore.qml index 81e3e714a9..75e1688740 100644 --- a/ui/imports/shared/stores/NetworkConnectionStore.qml +++ b/ui/imports/shared/stores/NetworkConnectionStore.qml @@ -15,7 +15,7 @@ QtObject { readonly property bool marketValuesCache: walletSectionCurrent.hasMarketValuesCache readonly property bool collectiblesCache: walletSectionCurrent.getHasCollectiblesCache() - readonly property var blockchainNetworksDown: networkConnectionModule.blockchainNetworkConnection.chainIds.split(";") + readonly property var blockchainNetworksDown: !!networkConnectionModule.blockchainNetworkConnection.chainIds ? networkConnectionModule.blockchainNetworkConnection.chainIds.split(";") : [] readonly property bool atleastOneBlockchainNetworkAvailable: blockchainNetworksDown.length < networksModule.all.count readonly property bool sendBuyBridgeEnabled: localAppSettings.testEnvironment || (isOnline &&