diff options
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/app.js | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index 7e63fa168..f9694214a 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -259,6 +259,14 @@ App.prototype.renderNetworkDropdown = function () { }), this.renderCustomOption(props.provider.rpcTarget), + + h(DropMenuItem, { + label: 'Custom RPC', + closeMenu: () => this.setState({ isNetworkMenuOpen: false }), + action: () => this.props.dispatch(actions.showConfigPage()), + icon: h('i.fa.fa-question-circle.fa-lg'), + }), + ]) } @@ -474,13 +482,6 @@ App.prototype.toggleMetamaskActive = function () { App.prototype.renderCustomOption = function (rpcTarget) { switch (rpcTarget) { - case undefined: - return h(DropMenuItem, { - label: 'Custom RPC', - closeMenu: () => this.setState({ isNetworkMenuOpen: false }), - action: () => this.props.dispatch(actions.showConfigPage()), - icon: h('i.fa.fa-question-circle.fa-lg'), - }) case 'http://localhost:8545': return null |