summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src/sdc-app/onboarding/softwareProduct/details
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/src/sdc-app/onboarding/softwareProduct/details')
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/softwareProduct/details/SoftwareProductDetailsView.jsx10
1 files changed, 7 insertions, 3 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 d24916f663..185617e156 100644
--- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/details/SoftwareProductDetailsView.jsx
+++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/details/SoftwareProductDetailsView.jsx
@@ -255,7 +255,8 @@ class LicensesSection extends React.Component {
label={i18n('Licensing Version')}
disabled={
this.props.isVendorArchived ||
- this.props.licenseType !== 'INTERNAL'
+ (typeof this.props.licenseType !== 'undefined' &&
+ this.props.licenseType !== 'INTERNAL')
}
type="select">
{this.props.licensingVersionsList.map(version => (
@@ -272,7 +273,8 @@ class LicensesSection extends React.Component {
type="select"
disabled={
this.props.isVendorArchived ||
- this.props.licenseType !== 'INTERNAL'
+ (typeof this.props.licenseType !== 'undefined' &&
+ this.props.licenseType !== 'INTERNAL')
}
value={
this.props.licensingData.licenseAgreement
@@ -299,7 +301,9 @@ class LicensesSection extends React.Component {
onInputChange={() => {}}
disabled={
this.props.isVendorArchived ||
- this.props.licenseType !== 'INTERNAL'
+ (typeof this.props.licenseType !==
+ 'undefined' &&
+ this.props.licenseType !== 'INTERNAL')
}
onEnumChange={featureGroups =>
this.props.onFeatureGroupsChanged({