aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2017-02-16 07:37:38 +0800
committerKevin Serrano <kevgagser@gmail.com>2017-02-16 07:37:38 +0800
commit9aa70fbaba164b490c02ca16a0bfa023e2f93dcf (patch)
treeec343e425223000bda631d6093b0b93dd29fad7e /ui
parentfbabcf61918bcc99b3b57d579d142b50e96144ec (diff)
downloadtangerine-wallet-browser-9aa70fbaba164b490c02ca16a0bfa023e2f93dcf.tar
tangerine-wallet-browser-9aa70fbaba164b490c02ca16a0bfa023e2f93dcf.tar.gz
tangerine-wallet-browser-9aa70fbaba164b490c02ca16a0bfa023e2f93dcf.tar.bz2
tangerine-wallet-browser-9aa70fbaba164b490c02ca16a0bfa023e2f93dcf.tar.lz
tangerine-wallet-browser-9aa70fbaba164b490c02ca16a0bfa023e2f93dcf.tar.xz
tangerine-wallet-browser-9aa70fbaba164b490c02ca16a0bfa023e2f93dcf.tar.zst
tangerine-wallet-browser-9aa70fbaba164b490c02ca16a0bfa023e2f93dcf.zip
Remove custom RPC option when on lock screen.
Diffstat (limited to 'ui')
-rw-r--r--ui/app/app.js2
1 files changed, 1 insertions, 1 deletions
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()),