balance Service
This commit is contained in:
parent
a8f0401e8e
commit
57299d675e
31 changed files with 585 additions and 645 deletions
|
|
@ -47,26 +47,32 @@ angular
|
|||
})
|
||||
.when('/homeWallet', {
|
||||
templateUrl: 'views/homeWallet.html',
|
||||
walletShouldBeReady: true,
|
||||
logged: true
|
||||
})
|
||||
.when('/receive', {
|
||||
templateUrl: 'views/receive.html',
|
||||
walletShouldBeReady: true,
|
||||
logged: true
|
||||
})
|
||||
.when('/history', {
|
||||
templateUrl: 'views/history.html',
|
||||
walletShouldBeReady: true,
|
||||
logged: true
|
||||
})
|
||||
.when('/send', {
|
||||
templateUrl: 'views/send.html',
|
||||
walletShouldBeReady: true,
|
||||
logged: true
|
||||
})
|
||||
.when('/more', {
|
||||
templateUrl: 'views/more.html',
|
||||
walletShouldBeReady: true,
|
||||
logged: true
|
||||
})
|
||||
.when('/settings', {
|
||||
templateUrl: 'views/settings.html',
|
||||
walletShouldBeReady: true,
|
||||
logged: false
|
||||
})
|
||||
.when('/warning', {
|
||||
|
|
@ -119,6 +125,9 @@ angular
|
|||
$idle.unwatch();
|
||||
$location.path('/');
|
||||
}
|
||||
if ($rootScope.wallet && !$rootScope.wallet.isReady() && next.walletShouldBeReady) {
|
||||
$location.path('/copayers');
|
||||
}
|
||||
}
|
||||
});
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue