diff --git a/src/components/JobSummary/SingleSummary/SingleSummary.js b/src/components/JobSummary/SingleSummary/SingleSummary.js index 001bf54d1..3a0e0f546 100644 --- a/src/components/JobSummary/SingleSummary/SingleSummary.js +++ b/src/components/JobSummary/SingleSummary/SingleSummary.js @@ -49,7 +49,9 @@ const SingleSummary = ({ - {importCount?.imported ?? '0'} + {importCount?.imported ?? + importCount?.created ?? + '0'} {importCount?.deleted} {importCount?.ignored} diff --git a/src/components/JobSummary/Summary/Summary.js b/src/components/JobSummary/Summary/Summary.js index a2702d9ff..5fd1f48ca 100644 --- a/src/components/JobSummary/Summary/Summary.js +++ b/src/components/JobSummary/Summary/Summary.js @@ -14,8 +14,7 @@ const extractStats = (summary) => { const total = imported + deleted + ignored + updated return { imported, deleted, ignored, updated, total } } else if (summary.stats) { - const { imported, deleted, ignored, updated, total } = summary.stats - return { imported, deleted, ignored, updated, total } + return summary.stats } }