diff --git a/src/components/JobOverview/helper.js b/src/components/JobOverview/helper.js index 8e4290f27..e3b2380e1 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 }, })