Fix issue with no $emit when no filters active
parent
3d98b017ed
commit
7073144f48
|
@ -871,10 +871,6 @@ export default {
|
||||||
|
|
||||||
let activeFilters = this.getActiveFilters(this.filters);
|
let activeFilters = this.getActiveFilters(this.filters);
|
||||||
|
|
||||||
if (Object.keys(activeFilters).length == 0) {
|
|
||||||
return data;
|
|
||||||
}
|
|
||||||
|
|
||||||
this.clearEditingMetaData();
|
this.clearEditingMetaData();
|
||||||
|
|
||||||
let globalFilterFieldsArray;
|
let globalFilterFieldsArray;
|
||||||
|
@ -939,7 +935,7 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (filteredValue.length === this.value.length) {
|
if (filteredValue.length === this.value.length || Object.keys(activeFilters).length == 0) {
|
||||||
filteredValue = data;
|
filteredValue = data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue