aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui')
-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
+ }))
);
}