Now we check if the values length is 0 not the filters varaible.
This commit is contained in:
@@ -10,7 +10,7 @@ class Filters {
|
||||
}
|
||||
|
||||
isEmpty() {
|
||||
return !this.hasValidType() || this.filters.length === 0;
|
||||
return !this.hasValidType() || this.value.length === 0;
|
||||
}
|
||||
|
||||
has(filter) {
|
||||
|
||||
Reference in New Issue
Block a user