aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src
diff options
context:
space:
mode:
authorYarin Dekel <yarind@amdocs.com>2018-10-31 11:59:46 +0200
committerAvi Gaffa <avi.gaffa@amdocs.com>2018-10-31 10:46:51 +0000
commiteba6fee58790a1ffece980de44100b21764051ca (patch)
treef3858a1c9c97503038d8697beff6f48253cd9fb1 /openecomp-ui/src
parenteabb6dd6c26f81e1868bae13bb06ffc570c73532 (diff)
FE removed condition for nfc when manual
Issue-ID: SDC-1882 Change-Id: I65da28506774a078a91b2a1ddbc1fc2ddfd8635c Signed-off-by: Yarin Dekel <yarind@amdocs.com>
Diffstat (limited to 'openecomp-ui/src')
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/general/SoftwareProductComponentsGeneralView.jsx28
1 files changed, 12 insertions, 16 deletions
diff --git a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/general/SoftwareProductComponentsGeneralView.jsx b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/general/SoftwareProductComponentsGeneralView.jsx
index bc95cee359..da39357cf1 100644
--- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/general/SoftwareProductComponentsGeneralView.jsx
+++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/general/SoftwareProductComponentsGeneralView.jsx
@@ -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')}