Skip to content

Commit

Permalink
Merge branch 'main' into rosado/allow-empty-dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
rosado authored Aug 14, 2024
2 parents f0e87a9 + 2ab0b16 commit 0df2ca6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/controllers/OrganisationsController.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ const organisationsController = {
datasets.push({
slug: dataset,
endpoint: null,
issue_count: 0,
status: 'Not submitted'
})
}
Expand Down
4 changes: 3 additions & 1 deletion src/services/performanceDbApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ ORDER BY
const datasets = result.formattedData.reduce((accumulator, row) => {
accumulator[row.dataset] = {
endpoint: row.endpoint,
status: row.status
status: row.status,
issue_count: row.issue_count,
error: row.error
}
return accumulator
}, {})
Expand Down

0 comments on commit 0df2ca6

Please sign in to comment.