Fix type issue 45/122645/2
authorxuegao <xue.gao@intl.att.com>
Thu, 15 Jul 2021 06:56:52 +0000 (08:56 +0200)
committerxuegao <xue.gao@intl.att.com>
Thu, 15 Jul 2021 08:00:04 +0000 (10:00 +0200)
Use "license" instead of "licence" to be consistent with the variable used in features.properties.erb

Issue-ID: SDC-3618
Change-Id: I58948ee8bcc4c4d2ad2d0b544e829869c05ae527
Signed-off-by: xuegao <xue.gao@intl.att.com>
openecomp-ui/src/sdc-app/onboarding/softwareProduct/landingPage/SoftwareProductLandingPageView.jsx

index 3e320c4..0f18a44 100644 (file)
@@ -92,7 +92,7 @@ class SoftwareProductLandingPageView extends React.Component {
 
     getExternalLicenceFeatureState() {
         var licenseFeature = this.props.features.find(
-            feature => feature.name === 'EXTERNAL_LICENCE'
+            feature => feature.name === 'EXTERNAL_LICENSE'
         );
         return licenseFeature ? licenseFeature.active : true;
     }