Now we check if the values length is 0 not the filters varaible.

This commit is contained in:
2017-12-20 22:17:45 +01:00
parent fe64af856e
commit fba3845523

View File

@@ -10,7 +10,7 @@ class Filters {
}
isEmpty() {
return !this.hasValidType() || this.filters.length === 0;
return !this.hasValidType() || this.value.length === 0;
}
has(filter) {