Removes importLegacy. Enable Coinbase/Glidera for livenet. Fix undefined variable on buyCoinbase/Glidera
This commit is contained in:
parent
d950df04c3
commit
3776062e16
6 changed files with 4 additions and 177 deletions
|
|
@ -8,7 +8,7 @@ angular.module('copayApp.controllers').controller('buyCoinbaseController',
|
|||
this.init = function(testnet) {
|
||||
self.allWallets = profileService.getWallets(testnet ? 'testnet' : 'livenet', 1)
|
||||
|
||||
client = profileService.focusedClient;
|
||||
var client = profileService.focusedClient;
|
||||
if (client) {
|
||||
$timeout(function() {
|
||||
self.selectedWalletId = client.credentials.walletId;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ angular.module('copayApp.controllers').controller('buyGlideraController',
|
|||
this.init = function(testnet) {
|
||||
self.allWallets = profileService.getWallets(testnet ? 'testnet' : 'livenet', 1)
|
||||
|
||||
client = profileService.focusedClient;
|
||||
var client = profileService.focusedClient;
|
||||
if (client) {
|
||||
$timeout(function() {
|
||||
self.selectedWalletId = client.credentials.walletId;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue