|
|
@ -36,9 +36,6 @@ Network.prototype.render = function () { |
|
|
|
} else if (providerName === 'mainnet') { |
|
|
|
} else if (providerName === 'mainnet') { |
|
|
|
hoverText = 'Main Ethereum Network' |
|
|
|
hoverText = 'Main Ethereum Network' |
|
|
|
iconName = 'ethereum-network' |
|
|
|
iconName = 'ethereum-network' |
|
|
|
} else if (providerName === 'classic') { |
|
|
|
|
|
|
|
hoverText = 'Ethereum Classic Network' |
|
|
|
|
|
|
|
iconName = 'classic-network' |
|
|
|
|
|
|
|
} else if (parseInt(networkNumber) === 2) { |
|
|
|
} else if (parseInt(networkNumber) === 2) { |
|
|
|
hoverText = 'Morden Test Network' |
|
|
|
hoverText = 'Morden Test Network' |
|
|
|
iconName = 'morden-test-network' |
|
|
|
iconName = 'morden-test-network' |
|
|
@ -66,15 +63,6 @@ Network.prototype.render = function () { |
|
|
|
}}, |
|
|
|
}}, |
|
|
|
'Etherum Main Net'), |
|
|
|
'Etherum Main Net'), |
|
|
|
]) |
|
|
|
]) |
|
|
|
case 'classic-network': |
|
|
|
|
|
|
|
return h('.network-indicator', [ |
|
|
|
|
|
|
|
h('.menu-icon.hollow-diamond'), |
|
|
|
|
|
|
|
h('.network-name', { |
|
|
|
|
|
|
|
style: { |
|
|
|
|
|
|
|
color: '#039396', |
|
|
|
|
|
|
|
}}, |
|
|
|
|
|
|
|
'Etherum Classic'), |
|
|
|
|
|
|
|
]) |
|
|
|
|
|
|
|
case 'morden-test-network': |
|
|
|
case 'morden-test-network': |
|
|
|
return h('.network-indicator', [ |
|
|
|
return h('.network-indicator', [ |
|
|
|
h('.menu-icon.red-dot'), |
|
|
|
h('.menu-icon.red-dot'), |
|
|
|