Skip to content

Commit

Permalink
Fix(frontend, import) statistics display
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Narcisi committed Dec 10, 2024
1 parent 3a86640 commit 64edeae
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,9 @@ export class ImportListComponent implements OnInit {

hasStatistics(row) {
const statistics = this._getStatistics(row);
return statistics && Object.keys(statistics).length > 1;
return Object.keys(statistics).some((key) => {
return statistics[key];
});
}

/**
Expand Down

0 comments on commit 64edeae

Please sign in to comment.