Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeGoodall committed Jul 12, 2024
1 parent 85100c1 commit f7ede6c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/services/performanceDbApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ ORDER BY
const columns = result.columns
const rows = result.rows.map((row) => {
return row.reduce((acc, val, index) => {
acc[columns[index]] = val;
return acc;
}, {});
acc[columns[index]] = val
return acc
}, {})
})

const datasets = rows.reduce((accumulator, row) => {
Expand All @@ -124,7 +124,7 @@ ORDER BY
}

let issue
if (row.issue_count > 0){
if (row.issue_count > 0) {
issue = `There are ${row.issue_count} issues in this dataset`
}

Expand Down

0 comments on commit f7ede6c

Please sign in to comment.