mirror of https://github.com/BTCPrivate/copay.git
Highlight active section on sidebar
This commit is contained in:
parent
0ffbd585f8
commit
4f57c3f696
|
@ -45,6 +45,10 @@ angular.module('copayApp.controllers').controller('SidebarController',
|
|||
}
|
||||
};
|
||||
|
||||
$scope.isActive = function(item) {
|
||||
return item.link && item.link == $location.path().split('/')[1];
|
||||
};
|
||||
|
||||
function logout() {
|
||||
var w = $rootScope.wallet;
|
||||
if (w) {
|
||||
|
|
Loading…
Reference in New Issue