aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/pages
diff options
context:
space:
mode:
authorThomas Huang <tmashuang@users.noreply.github.com>2019-04-17 03:39:00 +0800
committerGitHub <noreply@github.com>2019-04-17 03:39:00 +0800
commit00133d31b15d070d55dff13f568cf828dad41424 (patch)
tree2d0a85a31a00f9492e75a3d710209f9d89908325 /ui/app/pages
parent09f2a2a5476c4c119c7294f496f6590156d8d07a (diff)
parent33836c04638bd0ef023ed913e4c8ec976ad3caae (diff)
downloadtangerine-wallet-browser-00133d31b15d070d55dff13f568cf828dad41424.tar.gz
tangerine-wallet-browser-00133d31b15d070d55dff13f568cf828dad41424.tar.zst
tangerine-wallet-browser-00133d31b15d070d55dff13f568cf828dad41424.zip
Merge pull request #6444 from MetaMask/localhost-network-dropdown
Fixes #6321 & #6421 - Add Localhost 8545 for network dropdown names
Diffstat (limited to 'ui/app/pages')
-rw-r--r--ui/app/pages/routes/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/app/pages/routes/index.js b/ui/app/pages/routes/index.js
index e06d88c90..37ff2df61 100644
--- a/ui/app/pages/routes/index.js
+++ b/ui/app/pages/routes/index.js
@@ -267,6 +267,8 @@ class Routes extends Component {
name = this.context.t('connectingToKovan')
} else if (providerName === 'rinkeby') {
name = this.context.t('connectingToRinkeby')
+ } else if (providerName === 'localhost') {
+ name = this.context.t('connectingToLocalhost')
} else {
name = this.context.t('connectingTo', [providerId])
}
@@ -288,6 +290,8 @@ class Routes extends Component {
name = this.context.t('kovan')
} else if (providerName === 'rinkeby') {
name = this.context.t('rinkeby')
+ } else if (providerName === 'localhost') {
+ name = this.context.t('localhost')
} else {
name = this.context.t('unknownNetwork')
}