diff options
author | svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com> | 2018-04-24 11:55:19 +0300 |
---|---|---|
committer | Einav Keidar <einavw@amdocs.com> | 2018-04-30 06:47:26 +0000 |
commit | 0810c2dfe1808d68d6de60324f9bf052ce157fff (patch) | |
tree | ac5f8f3f3598a9bb1dc02c2d2a675d797d6b863a /openecomp-ui | |
parent | f96cb04a9a0939a568c167897f6104032cd629f9 (diff) |
image editor disabled fields fix
Issue-ID: SDC-1252
Change-Id: I67b05cffc294bf3b7d43a0f0bd51baec484ca405
Signed-off-by: svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
Diffstat (limited to 'openecomp-ui')
3 files changed, 2 insertions, 6 deletions
diff --git a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/images/imagesEditorComponents/FileDetails.jsx b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/images/imagesEditorComponents/FileDetails.jsx index ec173cd988..22f8a4057d 100644 --- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/images/imagesEditorComponents/FileDetails.jsx +++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/images/imagesEditorComponents/FileDetails.jsx @@ -61,7 +61,6 @@ const FileDetails = ({ )} {editingMode && ( <Version - isManual={isManual} dataMap={dataMap} qgenericFieldInfo={qgenericFieldInfo} onQDataChanged={onQDataChanged} @@ -69,7 +68,6 @@ const FileDetails = ({ )} {editingMode && ( <Format - isManual={isManual} qgenericFieldInfo={qgenericFieldInfo} dataMap={dataMap} onQDataChanged={onQDataChanged} diff --git a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/images/imagesEditorComponents/Format.jsx b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/images/imagesEditorComponents/Format.jsx index 0ee8fb76d0..d50825728a 100644 --- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/images/imagesEditorComponents/Format.jsx +++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/images/imagesEditorComponents/Format.jsx @@ -18,11 +18,10 @@ import i18n from 'nfvo-utils/i18n/i18n.js'; import Input from 'nfvo-components/input/validation/Input.jsx'; import GridItem from 'nfvo-components/grid/GridItem.jsx'; -const Format = ({ isManual, dataMap, qgenericFieldInfo, onQDataChanged }) => { +const Format = ({ dataMap, qgenericFieldInfo, onQDataChanged }) => { return ( <GridItem colSpan={2}> <Input - disabled={!isManual} data-test-id="image-format" type="select" label={i18n('Format')} diff --git a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/images/imagesEditorComponents/Version.jsx b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/images/imagesEditorComponents/Version.jsx index 60454c52e7..e89463daec 100644 --- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/images/imagesEditorComponents/Version.jsx +++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/components/images/imagesEditorComponents/Version.jsx @@ -19,11 +19,10 @@ import Input from 'nfvo-components/input/validation/Input.jsx'; import GridItem from 'nfvo-components/grid/GridItem.jsx'; import { imageCustomValidations } from '../ImageValidations.js'; -const Version = ({ isManual, dataMap, qgenericFieldInfo, onQDataChanged }) => { +const Version = ({ dataMap, qgenericFieldInfo, onQDataChanged }) => { return ( <GridItem colSpan={1} lastColInRow> <Input - disabled={!isManual} data-test-id="image-version" type="text" className="image-version" |