fix go.is
This commit is contained in:
parent
aec2aac47b
commit
5f3802b875
2 changed files with 2 additions and 4 deletions
|
|
@ -211,7 +211,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
}, 300);
|
||||
}
|
||||
|
||||
if (!self.tab || go.is('walletHome'))
|
||||
if (!self.tab || !go.is('walletHome'))
|
||||
self.tab = 'walletHome';
|
||||
|
||||
var changeTab = function() {
|
||||
|
|
@ -235,7 +235,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
$rootScope.$emit('Local/TabChanged', tab);
|
||||
};
|
||||
|
||||
if (switchState && go.is('walletHome')) {
|
||||
if (switchState && !go.is('walletHome')) {
|
||||
go.path('walletHome', function() {
|
||||
changeTab();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue