From 5df6868d60a0537c6d00f00a317060287a2bd839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20=C3=81ngel=20Gonz=C3=A1lez=20Novez?= Date: Mon, 30 Oct 2017 09:00:31 +0100 Subject: [PATCH] Added console.log for debug purposes. --- public/services/dataHandler.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/services/dataHandler.js b/public/services/dataHandler.js index 949ed5f01..fb0fa8830 100644 --- a/public/services/dataHandler.js +++ b/public/services/dataHandler.js @@ -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); }