Added console.log for debug purposes.

This commit is contained in:
Jesús Ángel González Novez 2017-10-30 09:00:31 +01:00
parent f9806c8bfc
commit 5df6868d60

View File

@ -72,7 +72,10 @@ app.factory('DataHandler', function ($q, apiReq) {
}
removeFilter (filterName, search) {
console.log(this.filters);
angular.forEach(this.filters, function (filter, key) {
console.log(filter);
console.log(key);
if (filterName === filter.name) {
this.filters.splice(key, 1);
}