webpack/scenes/ContentViews/Details/ComponentContentViews/ContentViewComponents.js in katello-4.2.0.rc1 vs webpack/scenes/ContentViews/Details/ComponentContentViews/ContentViewComponents.js in katello-4.2.0.rc2
- old
+ new
@@ -140,10 +140,10 @@
</Split>,
},
{ title: environments ? <ComponentEnvironments {...{ environments }} /> : __('Not yet published') },
{ title: <Link to={urlBuilder(`labs/content_views/${id}#repositories`, '')}>{ repositories ? repositories.length : 0 }</Link> },
{
- title: <AddedStatusLabel added={componentCvId} />,
+ title: <AddedStatusLabel added={!!componentCvId} />,
},
{ title: <TableText wrapModifier="truncate">{description || __('No description')}</TableText> },
];
newRows.push({
componentCvId: id, added: componentCvId, published: cvVersion, latest, cells,