|
|
|
@ -142,6 +142,7 @@ BuyButtonSubview.prototype.primarySubview = function () { |
|
|
|
|
case '1': |
|
|
|
|
return this.mainnetSubview() |
|
|
|
|
|
|
|
|
|
// Ropsten, Rinkeby, Kovan
|
|
|
|
|
case '3': |
|
|
|
|
case '4': |
|
|
|
|
case '42': |
|
|
|
@ -160,6 +161,15 @@ BuyButtonSubview.prototype.primarySubview = function () { |
|
|
|
|
marginTop: '15px', |
|
|
|
|
}, |
|
|
|
|
}, label), |
|
|
|
|
// Kovan only: Dharma loans beta
|
|
|
|
|
network === '42' ? ( |
|
|
|
|
h('button.text-transform-uppercase', { |
|
|
|
|
onClick: () => this.navigateTo('https://borrow.dharma.io/'), |
|
|
|
|
style: { |
|
|
|
|
marginTop: '15px', |
|
|
|
|
}, |
|
|
|
|
}, 'Borrow With Dharma (Beta)') |
|
|
|
|
) : null |
|
|
|
|
]) |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|