Added report center IO-636

This commit is contained in:
Patrick Fic
2021-02-04 17:03:19 -08:00
parent aa1f5c6b06
commit 9993d76709
12 changed files with 408 additions and 7 deletions

View File

@@ -72,8 +72,16 @@ const renderTemplateList = (templates) => {
<span className="imex-flex-row__margin">
{templates.map((template, idx) => {
if (idx === templates.length - 1)
return TemplateListGenerated[template].title;
return `${TemplateListGenerated[template].title}, `;
return (
(TemplateListGenerated[template] &&
TemplateListGenerated[template].title) ||
""
);
return `${
(TemplateListGenerated[template] &&
TemplateListGenerated[template].title) ||
""
}, `;
})}
</span>
);