fix copayers
This commit is contained in:
parent
5f6c9482b4
commit
475f6ea29e
11 changed files with 62 additions and 32 deletions
|
|
@ -57,24 +57,23 @@ angular.module('copayApp.services').factory('go', function($window, $rootScope,
|
|||
};
|
||||
|
||||
root.walletHome = function() {
|
||||
console.log('[go.js.25:walletHome:]'); //TODO
|
||||
var w = $rootScope.wallet;
|
||||
preconditions.checkState(w);
|
||||
$rootScope.starting = false;
|
||||
|
||||
if (!w.isComplete()) {
|
||||
root.path('copayers');
|
||||
} else {
|
||||
if ($rootScope.pendingPayment) {
|
||||
root.path('selectWalletForPayment');
|
||||
} else {
|
||||
|
||||
console.log('[go.js.36]'); //TODO
|
||||
root.path('homeWallet');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
root.home = function() {
|
||||
console.log('[go.js.48:home:]'); //TODO
|
||||
if ($rootScope.iden)
|
||||
root.walletHome();
|
||||
else
|
||||
|
|
@ -83,6 +82,8 @@ console.log('[go.js.36]'); //TODO
|
|||
|
||||
|
||||
root.send = function() {
|
||||
|
||||
console.log('[go.js.58]'); //TODO
|
||||
$location.path('send');
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue