Fixed #4434 - DataTable: VirtualScroller breaks when sort is applied

pull/4992/head
mertsincan 2023-12-20 15:20:57 +00:00
parent e6cb68526f
commit cdd2a0e6e4
1 changed files with 1 additions and 1 deletions

View File

@ -2045,7 +2045,7 @@ export default {
processedData() { processedData() {
let data = this.value || []; let data = this.value || [];
if (!this.lazy) { if (!this.lazy && !this.virtualScrollerOptions?.lazy) {
if (data && data.length) { if (data && data.length) {
if (this.hasFilters) { if (this.hasFilters) {
data = this.filter(data); data = this.filter(data);