FE removed condition for nfc when manual 40/71540/2
authorYarin Dekel <yarind@amdocs.com>
Wed, 31 Oct 2018 09:59:46 +0000 (11:59 +0200)
committerAvi Gaffa <avi.gaffa@amdocs.com>
Wed, 31 Oct 2018 10:46:51 +0000 (10:46 +0000)
Issue-ID: SDC-1882
Change-Id: I65da28506774a078a91b2a1ddbc1fc2ddfd8635c
Signed-off-by: Yarin Dekel <yarind@amdocs.com>
openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/general/SoftwareProductComponentsGeneralView.jsx

index bc95cee..da39357 100644 (file)
@@ -50,22 +50,18 @@ const GeneralSection = ({
                 disabled={!isManual || isReadOnlyMode}
                 type="text"
             />
-            {!isManual && (
-                <Input
-                    data-test-id="vfcCode"
-                    label={i18n('Naming Code')}
-                    disabled={isReadOnlyMode}
-                    type="text"
-                    onChange={nfcFunction =>
-                        onQDataChanged({ 'general/nfcNamingCode': nfcFunction })
-                    }
-                    isValid={qgenericFieldInfo['general/nfcNamingCode'].isValid}
-                    errorText={
-                        qgenericFieldInfo['general/nfcNamingCode'].errorText
-                    }
-                    value={dataMap['general/nfcNamingCode']}
-                />
-            )}
+            <Input
+                data-test-id="vfcCode"
+                label={i18n('Naming Code')}
+                disabled={isReadOnlyMode}
+                type="text"
+                onChange={nfcFunction =>
+                    onQDataChanged({ 'general/nfcNamingCode': nfcFunction })
+                }
+                isValid={qgenericFieldInfo['general/nfcNamingCode'].isValid}
+                errorText={qgenericFieldInfo['general/nfcNamingCode'].errorText}
+                value={dataMap['general/nfcNamingCode']}
+            />
             <Input
                 data-test-id="nfcFunction"
                 label={i18n('Function')}