diff --git a/src/components/CardRenderer.js b/src/components/CardRenderer.js index 71c6f72a..bffb2323 100644 --- a/src/components/CardRenderer.js +++ b/src/components/CardRenderer.js @@ -22,7 +22,7 @@ module.exports.renderDefaultCard = function renderDefaultCard({item}) {
${item.display_name ? h(item.display_name) : h(item.name)}
- ${h(item.organization)} + ${item.organization ? h(item.organization) : ""}
${_.isNumber(item.stars) && item.stars ? diff --git a/src/components/ItemDialogContentRenderer.js b/src/components/ItemDialogContentRenderer.js index 0b764aac..62626aca 100644 --- a/src/components/ItemDialogContentRenderer.js +++ b/src/components/ItemDialogContentRenderer.js @@ -653,8 +653,8 @@ module.exports.render = function({settings, tweetsCount, itemInfo}) { const productInfo = `
${h(itemInfo.name)}
- + ${itemInfo.organization ? `` : ""} ${productPaths.map( (productPath) => `
${renderItemCategory({path: productPath, itemInfo})}
`).join('')}