1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Add kovan to drop-menu-item

This commit is contained in:
Kevin Serrano 2017-03-22 16:04:28 -04:00
parent 4757858df0
commit 34f3889eb0
No known key found for this signature in database
GPG Key ID: BF999DEFC7371BA1

View File

@ -42,7 +42,10 @@ DropMenuItem.prototype.activeNetworkRender = function () {
if (providerType === 'mainnet') return h('.check', '✓')
break
case 'Ropsten Test Network':
if (provider.type === 'testnet') return h('.check', '✓')
if (providerType === 'testnet') return h('.check', '✓')
break
case 'Kovan Test Network':
if (providerType === 'kovan') return h('.check', '✓')
break
case 'Localhost 8545':
if (activeNetwork === 'http://localhost:8545') return h('.check', '✓')