aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-11-22 04:17:46 +0800
committerGitHub <noreply@github.com>2016-11-22 04:17:46 +0800
commitb4bee4fb5987ab205c8dd7e7dff86af979facdbe (patch)
tree528f87b75425d172db7f3d4b9b563a348535042b /ui/app/app.js
parent37d836fa72c75945d436bd94feadb65aa95d7e5f (diff)
parente8a83026248e6e27e6d801cf1713551eb740137a (diff)
downloadtangerine-wallet-browser-b4bee4fb5987ab205c8dd7e7dff86af979facdbe.tar
tangerine-wallet-browser-b4bee4fb5987ab205c8dd7e7dff86af979facdbe.tar.gz
tangerine-wallet-browser-b4bee4fb5987ab205c8dd7e7dff86af979facdbe.tar.bz2
tangerine-wallet-browser-b4bee4fb5987ab205c8dd7e7dff86af979facdbe.tar.lz
tangerine-wallet-browser-b4bee4fb5987ab205c8dd7e7dff86af979facdbe.tar.xz
tangerine-wallet-browser-b4bee4fb5987ab205c8dd7e7dff86af979facdbe.tar.zst
tangerine-wallet-browser-b4bee4fb5987ab205c8dd7e7dff86af979facdbe.zip
Merge pull request #832 from MetaMask/i831-AddRopsten
Begin adding Ropsten support
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index ae6fe7071..3a3b234cc 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -235,7 +235,7 @@ App.prototype.renderNetworkDropdown = function () {
}),
h(DropMenuItem, {
- label: 'Morden Test Network',
+ label: 'Ropsten Test Network',
closeMenu: () => this.setState({ isNetworkMenuOpen: false }),
action: () => props.dispatch(actions.setProviderType('testnet')),
icon: h('.menu-icon.red-dot'),
@@ -244,6 +244,15 @@ App.prototype.renderNetworkDropdown = function () {
}),
h(DropMenuItem, {
+ label: 'Morden Test Network',
+ closeMenu: () => this.setState({ isNetworkMenuOpen: false }),
+ action: () => props.dispatch(actions.setProviderType('morden')),
+ icon: h('.menu-icon.red-dot'),
+ activeNetworkRender: props.network,
+ provider: props.provider,
+ }),
+
+ h(DropMenuItem, {
label: 'Localhost 8545',
closeMenu: () => this.setState({ isNetworkMenuOpen: false }),
action: () => props.dispatch(actions.setRpcTarget('http://localhost:8545')),