profile without wallet, redir to add page

This commit is contained in:
Gustavo Maximiliano Cortez 2015-01-18 18:45:46 -03:00
commit 0874f7dccb
2 changed files with 2 additions and 1 deletions

View file

@ -298,7 +298,7 @@ angular.module('copayApp.services')
iden.on('noWallets', function() {
notification.warning('No Wallets', 'Your profile has no wallets. Create one here');
$rootScope.starting = false;
$location.path('/create');
$location.path('/add');
$timeout(function() {
$rootScope.$digest();
}, 1);

View file

@ -32,6 +32,7 @@
<div>
<ul class="side-nav wallets" ng-class="{'pullDown': walletSelection}">
<li
ng-if="wallets[0]"
ng-repeat="item in wallets track by $index"
class="nav-item"
ng-if="item.id != $root.wallet.id"