Refactor #5261
parent
d474e51aca
commit
4aac2c5c5f
|
@ -2017,14 +2017,14 @@ export default {
|
||||||
|
|
||||||
if (!this.lazy && !this.virtualScrollerOptions?.lazy) {
|
if (!this.lazy && !this.virtualScrollerOptions?.lazy) {
|
||||||
if (data && data.length) {
|
if (data && data.length) {
|
||||||
|
if (this.hasFilters) {
|
||||||
|
data = this.filter(data);
|
||||||
|
}
|
||||||
|
|
||||||
if (this.sorted) {
|
if (this.sorted) {
|
||||||
if (this.sortMode === 'single') data = this.sortSingle(data);
|
if (this.sortMode === 'single') data = this.sortSingle(data);
|
||||||
else if (this.sortMode === 'multiple') data = this.sortMultiple(data);
|
else if (this.sortMode === 'multiple') data = this.sortMultiple(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.hasFilters) {
|
|
||||||
data = this.filter(data);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue