Remove console.log

This commit is contained in:
brantje 2016-09-18 21:17:47 +02:00
parent 8d0f70f357
commit 396ec55453
2 changed files with 3 additions and 2 deletions

View file

@ -103,11 +103,10 @@ angular.module('passmanApp')
}; };
$scope.selectedtags = []; $scope.selectedtags = [];
$rootScope.$on('selected_tags_updated', function (evt, _sTags) { $rootScope.$on('selected_tags_updated', function (evt, _sTags) {
var _selectedTags = [] var _selectedTags = [];
for(var x = 0; x < _sTags.length; x++){ for(var x = 0; x < _sTags.length; x++){
_selectedTags.push(_sTags[x].text) _selectedTags.push(_sTags[x].text)
} }
console.log(_selectedTags)
$scope.selectedtags = _selectedTags; $scope.selectedtags = _selectedTags;
}); });

View file

@ -16,6 +16,8 @@ angular.module('passmanApp')
$location.path('/'); $location.path('/');
}; };
// @TODO Show only tag's that exist in the list (when filtered on tag)
$scope.selectedTags = []; $scope.selectedTags = [];
$scope.getTags = function ($query) { $scope.getTags = function ($query) {
console.log(TagService.searchTag($query)); console.log(TagService.searchTag($query));