diff --git a/src/components/JobOverview/helper.js b/src/components/JobOverview/helper.js index bcc679ac4..c2fa96b7d 100644 --- a/src/components/JobOverview/helper.js +++ b/src/components/JobOverview/helper.js @@ -6,7 +6,7 @@ const categoryTypesObj = categoryTypes.reduce((acc, cur) => { }, {}) const jobToPath = (job) => ({ - pathname: `/import/${categoryTypesObj[job.importType].key}`, + pathname: `/import/${categoryTypesObj[job.importType]?.key}`, query: { id: job.id }, })