From 9aa70fbaba164b490c02ca16a0bfa023e2f93dcf Mon Sep 17 00:00:00 2001 From: Kevin Serrano Date: Wed, 15 Feb 2017 15:37:38 -0800 Subject: [PATCH] Remove custom RPC option when on lock screen. --- ui/app/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/app.js b/ui/app/app.js index 01e36cc62..ea755bec5 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -262,7 +262,7 @@ App.prototype.renderNetworkDropdown = function () { this.renderCustomOption(props.provider), - h(DropMenuItem, { + props.isUnlocked && h(DropMenuItem, { label: 'Custom RPC', closeMenu: () => this.setState({ isNetworkMenuOpen: false }), action: () => this.props.dispatch(actions.showConfigPage()),