summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src/sdc-app/onboarding/softwareProduct
diff options
context:
space:
mode:
authorMalek <malek.zoabi@amdocs.com>2018-10-14 13:46:26 +0300
committerEinav Keidar <einavw@amdocs.com>2018-10-14 14:25:39 +0000
commit270dcfc31c637224544b3e20e91a0a3354239a2e (patch)
treec933464bc0b5ace8bf3c05b2176372b9544c3241 /openecomp-ui/src/sdc-app/onboarding/softwareProduct
parent130aa901dd94519cd6bc99140a9d935365220cc5 (diff)
Fix draft license version
Change-Id: I38e69807228faab5efa7fb55ac7abd76c319ad77 Issue-ID: SDC-1834 Signed-off-by: Malek <malek.zoabi@amdocs.com>
Diffstat (limited to 'openecomp-ui/src/sdc-app/onboarding/softwareProduct')
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/softwareProduct/details/SoftwareProductDetailsView.jsx11
1 files changed, 7 insertions, 4 deletions
diff --git a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/details/SoftwareProductDetailsView.jsx b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/details/SoftwareProductDetailsView.jsx
index 1b384636e6..dbc04d0e87 100644
--- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/details/SoftwareProductDetailsView.jsx
+++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/details/SoftwareProductDetailsView.jsx
@@ -25,6 +25,7 @@ import GridSection from 'nfvo-components/grid/GridSection.jsx';
import GridItem from 'nfvo-components/grid/GridItem.jsx';
import SoftwareProductCategoriesHelper from 'sdc-app/onboarding/softwareProduct/SoftwareProductCategoriesHelper.js';
import { forms } from 'sdc-app/onboarding/softwareProduct/SoftwareProductConstants.js';
+import { versionStatus } from 'sdc-app/common/helpers/ItemsHelperConstants.js';
const DeprecatedVlmInfo = ({ vendorName, onVendorRemove }) => {
return (
@@ -623,10 +624,12 @@ class SoftwareProductDetails extends Component {
];
return licensingVersionsListItems.concat(
- licensingVersionsList.map(version => ({
- enum: version.id,
- title: version.name
- }))
+ licensingVersionsList
+ .filter(item => item.status === versionStatus.CERTIFIED)
+ .map(version => ({
+ enum: version.id,
+ title: version.name
+ }))
);
}