Fix allRowsSelected computed property (#2638)
* Fix allRowsSelected computed property This fixes the issue described in #2637. * Remove optional chaining operator Replaced by ObjectUtils.isNotEmpty().pull/2657/head
parent
8471c28e5a
commit
fbc9ff240f
|
@ -1894,7 +1894,7 @@ export default {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
const val = this.frozenValue ? [...this.frozenValue, ...this.processedData] : this.processedData;
|
const val = this.frozenValue ? [...this.frozenValue, ...this.processedData] : this.processedData;
|
||||||
return val && this.selection && Array.isArray(this.selection) && val.every(v => this.selection.some(s => this.equals(s, v)));
|
return ObjectUtils.isNotEmpty(val) && this.selection && Array.isArray(this.selection) && val.every(v => this.selection.some(s => this.equals(s, v)));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
attributeSelector() {
|
attributeSelector() {
|
||||||
|
|
Loading…
Reference in New Issue