Fix hideTabs

This commit is contained in:
Gustavo Maximiliano Cortez 2016-10-16 21:51:50 -03:00
commit 1b56e48cf7
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
11 changed files with 23 additions and 39 deletions

View file

@ -0,0 +1,13 @@
'use strict';
angular.module('copayApp.directives')
.directive('hideTabs', function($rootScope) {
return {
restrict: 'A',
link: function($scope, $el) {
$rootScope.hideTabs = 'tabs-item-hide';
$scope.$on('$destroy', function() {
$rootScope.hideTabs = '';
});
}
};
});