X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Fcomposer%2Fsrc%2Fsrc%2Fcomponents%2FCatalogItems.js;h=9b96bb5b0cd8bcf6a06390a9a1675b5f3e7e4d92;hp=c86f0875b9a253dacc56cc9e622cbfaa6b88db16;hb=15999cf835be1475fd72fddcfb34831f4173eb92;hpb=e29efc315df33d546237e270470916e26df391d6 diff --git a/skyquake/plugins/composer/src/src/components/CatalogItems.js b/skyquake/plugins/composer/src/src/components/CatalogItems.js index c86f0875b..9b96bb5b0 100644 --- a/skyquake/plugins/composer/src/src/components/CatalogItems.js +++ b/skyquake/plugins/composer/src/src/components/CatalogItems.js @@ -1,6 +1,6 @@ /* - * + * * Copyright 2016 RIFT.IO Inc * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -88,8 +88,6 @@ const CatalogItems = React.createClass({ const isOpenForEdit = d.uiState.isOpenForEdit; const spanClassNames = ClassNames({'-is-selected': isSelected, '-is-open-for-edit': isOpenForEdit}); const sectionClassNames = ClassNames('catalog-item', {'-is-modified': isModified, '-is-deleted': isDeleted}); - const instanceCount = d.uiState['instance-ref-count']; - const instanceCountLabel = isNSD && instanceCount ? ({instanceCount}) : null; let type; if(isNSD) { type = 'nsd'; @@ -104,7 +102,7 @@ const CatalogItems = React.createClass({ {isModified ?
: null}
{type}
-
{d.name} {instanceCountLabel}
+
{d.name}
@@ -119,8 +117,8 @@ const CatalogItems = React.createClass({ ); }); return ( -
-