Added report center IO-636
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user