Skip to content

Commit

Permalink
FIO-7786: Fixing Datagrid issue in Settings JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinanciani committed Jan 18, 2024
1 parent 65b6943 commit 6aed97a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/datagrid/DataGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export default class DataGridComponent extends NestedArrayComponent {
isEmpty(value = this.dataValue) {
const isEmpty = super.isEmpty(value);

if (this.components.length) {
if (this.components?.length) {
return this.components.reduce((isEmpty, component) => {
return isEmpty && component.isEmpty();
}, true);
Expand Down

0 comments on commit 6aed97a

Please sign in to comment.