aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/network.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2016-11-18 06:27:34 +0800
committerGitHub <noreply@github.com>2016-11-18 06:27:34 +0800
commit6400eb8453c173e04e59d7990bd2c79afb3493be (patch)
treeecb311d43d0f77d5f5f0e82a0014a09c6381f0ef /ui/app/components/network.js
parent115fdc36fefd33e4bf4a9e551dd6267d3d75f2c5 (diff)
parent4352c7031afb6f9a175b29d0addeb7ea48345676 (diff)
downloadtangerine-wallet-browser-6400eb8453c173e04e59d7990bd2c79afb3493be.tar
tangerine-wallet-browser-6400eb8453c173e04e59d7990bd2c79afb3493be.tar.gz
tangerine-wallet-browser-6400eb8453c173e04e59d7990bd2c79afb3493be.tar.bz2
tangerine-wallet-browser-6400eb8453c173e04e59d7990bd2c79afb3493be.tar.lz
tangerine-wallet-browser-6400eb8453c173e04e59d7990bd2c79afb3493be.tar.xz
tangerine-wallet-browser-6400eb8453c173e04e59d7990bd2c79afb3493be.tar.zst
tangerine-wallet-browser-6400eb8453c173e04e59d7990bd2c79afb3493be.zip
Merge pull request #816 from MetaMask/i328-MultiVault
Multi vault to Dev Branch
Diffstat (limited to 'ui/app/components/network.js')
-rw-r--r--ui/app/components/network.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/app/components/network.js b/ui/app/components/network.js
index 845861396..8e67dd741 100644
--- a/ui/app/components/network.js
+++ b/ui/app/components/network.js
@@ -22,7 +22,6 @@ Network.prototype.render = function () {
let iconName, hoverText
if (networkNumber === 'loading') {
-
return h('img.network-indicator', {
title: 'Attempting to connect to blockchain.',
onClick: (event) => this.props.onClick(event),
@@ -32,17 +31,17 @@ Network.prototype.render = function () {
},
src: 'images/loading.svg',
})
-
} else if (providerName === 'mainnet') {
hoverText = 'Main Ethereum Network'
iconName = 'ethereum-network'
- } else if (parseInt(networkNumber) === 2) {
+ } else if (providerName === 'testnet') {
hoverText = 'Morden Test Network'
iconName = 'morden-test-network'
} else {
hoverText = 'Unknown Private Network'
iconName = 'unknown-private-network'
}
+
return (
h('#network_component.flex-center.pointer', {
style: {