Skip to content

Commit

Permalink
Job view crashes for jobs with many report items #2311
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbasti committed Mar 20, 2024
1 parent 70046bd commit 022b2ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export interface ReportProperties {
data: string;
}

export const generateReport = (reportItems: any, reportHeader: string) => {
export const generateReport = (reportItems: any[], reportHeader: string) => {
const columns: ContentTableColumn[] =
reportItems.length > 0
? Object.keys(reportItems[0]).map((key) => ({
Expand Down

0 comments on commit 022b2ac

Please sign in to comment.