Merge pull request #197 from varasev/RewardByBlock-all-networks
(Feature) Allow displaying `RewardByBlock` item in drop-down list on the page `Modify Proxy Contract Ballot` for all networks
This commit is contained in:
commit
5bb4b21d42
|
@ -22,12 +22,6 @@ export class BallotProxyMetadata extends React.Component {
|
|||
/*8*/ { value: '9', label: ballotStore.ProxyBallotType[9] } // RewardByBlock
|
||||
]
|
||||
|
||||
const networkName = getNetworkName(contractsStore.netId).toLowerCase()
|
||||
|
||||
if (networkName !== constants.SOKOL && networkName !== constants.DAI) {
|
||||
options.splice(8) // keep 0-7 items and remove 8th if the network is not Sokol or xDai
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="frm-BallotProxyMetadata">
|
||||
<div className="frm-BallotProxyMetadata_Row">
|
||||
|
|
Loading…
Reference in New Issue