Skip to content
Snippets Groups Projects
Commit 0517a94e authored by Johanna Szepanski's avatar Johanna Szepanski Committed by EREBUS_DMN\jsz
Browse files

added fallback empty array required by common Table

parent 5511e40a
No related branches found
No related tags found
2 merge requests!612Release 5.0.0,!567CE-3151: Fixed common warnings
......@@ -73,7 +73,7 @@ export const JobTable = ({
{columns ? (
<Table
columns={columns}
rows={columns && jobs?.map((job) => createTableRow(job))}
rows={(columns && jobs?.map((job) => createTableRow(job))) || []}
pagination={pagination}
onPage={onPage}
loading={loading}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment