Skip to content

Commit

Permalink
Always show private network when RPC is not whitelisted (#6495)
Browse files Browse the repository at this point in the history
  • Loading branch information
chikeichan authored Apr 25, 2019
1 parent 429bb5e commit 13605c2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ui/app/components/app/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ Network.prototype.render = function () {
} else if (providerName === 'ropsten') {
hoverText = context.t('ropsten')
iconName = 'ropsten-test-network'
} else if (parseInt(networkNumber) === 3) {
hoverText = context.t('ropsten')
iconName = 'ropsten-test-network'
} else if (providerName === 'kovan') {
hoverText = context.t('kovan')
iconName = 'kovan-test-network'
Expand All @@ -63,7 +60,7 @@ Network.prototype.render = function () {
className: classnames({
'network-component--disabled': this.props.disabled,
'ethereum-network': providerName === 'mainnet',
'ropsten-test-network': providerName === 'ropsten' || parseInt(networkNumber) === 3,
'ropsten-test-network': providerName === 'ropsten',
'kovan-test-network': providerName === 'kovan',
'rinkeby-test-network': providerName === 'rinkeby',
'goerli-test-network': providerName === 'goerli',
Expand Down

0 comments on commit 13605c2

Please sign in to comment.