pull/1478/head
Tuğçe Küçükoğlu 2021-08-24 17:26:36 +03:00
commit 4bf74ac1f7
1 changed files with 1 additions and 1 deletions

View File

@ -1813,7 +1813,7 @@ export default {
},
allRowsSelected() {
const val = this.frozenValue ? [...this.frozenValue, ...this.processedData]: this.processedData;
const length = this.lazy ? this.totalRecords : val?.length;
const length = this.lazy ? this.totalRecords : (val ? val.length : 0);
return (val && length > 0 && this.selection && this.selection.length > 0 && this.selection.length === length);
},
attributeSelector() {