From: ChrisC Date: Thu, 18 Mar 2021 14:31:38 +0000 (+0100) Subject: Fix license option visibility X-Git-Tag: 1.8.4^0 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=cd4abda24f03bf53440a79c294cd0ef60fea2e34;p=sdc.git Fix license option visibility Fix for license option selection visibility in case user choose internal license type Issue-ID: SDC-3499 Signed-off-by: ChrisC Change-Id: I32f6f81055f619b8682bc856ab16e8689546172b --- 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 06ecf6b773..7df610a3ec 100644 --- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/details/SoftwareProductDetailsView.jsx +++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/details/SoftwareProductDetailsView.jsx @@ -237,7 +237,7 @@ class LicensesSection extends React.Component { label={i18n('Licensing Version')} disabled={ this.props.isVendorArchived || - this.props.licenseType !== 'internal' + this.props.licenseType !== 'INTERNAL' } type="select"> {this.props.licensingVersionsList.map(version => ( @@ -254,7 +254,7 @@ class LicensesSection extends React.Component { type="select" disabled={ this.props.isVendorArchived || - this.props.licenseType !== 'internal' + this.props.licenseType !== 'INTERNAL' } value={ this.props.licensingData.licenseAgreement @@ -281,7 +281,7 @@ class LicensesSection extends React.Component { onInputChange={() => {}} disabled={ this.props.isVendorArchived || - this.props.licenseType !== 'internal' + this.props.licenseType !== 'INTERNAL' } onEnumChange={featureGroups => this.props.onFeatureGroupsChanged({