From cd4abda24f03bf53440a79c294cd0ef60fea2e34 Mon Sep 17 00:00:00 2001 From: ChrisC Date: Thu, 18 Mar 2021 15:31:38 +0100 Subject: 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 --- .../softwareProduct/details/SoftwareProductDetailsView.jsx | 6 +++--- 1 file changed, 3 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 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({ -- cgit 1.2.3-korg