aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/setup/HeatSetupView.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/setup/HeatSetupView.jsx')
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/setup/HeatSetupView.jsx12
1 files changed, 4 insertions, 8 deletions
diff --git a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/setup/HeatSetupView.jsx b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/setup/HeatSetupView.jsx
index 17b3179d01..ce6d5260d7 100644
--- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/setup/HeatSetupView.jsx
+++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/setup/HeatSetupView.jsx
@@ -97,13 +97,11 @@ const UnassignedFileList = (props) => {
};
const EmptyListContent = props => {
- let {onClick, heatDataExist, isReadOnlyMode} = props;
+ let {heatDataExist} = props;
let displayText = heatDataExist ? 'All Files Are Assigned' : '';
return (
<div className='go-to-validation-button-wrapper'>
- <div className='all-files-assigned'>{i18n(displayText)}</div>
- {heatDataExist && <SVGIcon disabled={isReadOnlyMode} name='angleRight' onClick={onClick}
- data-test-id='go-to-validation' label={i18n('Proceed To Validation')} labelPosition='left' color='primary'/>}
+ <div className='all-files-assigned'>{i18n(displayText)}</div>
</div>
);
};
@@ -283,7 +281,7 @@ class SoftwareProductHeatSetupView extends Component {
}
render() {
- let {modules, heatSetupCache, isReadOnlyMode, heatDataExist, unassigned, artifacts, nested, onArtifactListChange, onAddAllUnassigned} = this.props;
+ let {modules, isReadOnlyMode, heatDataExist, unassigned, artifacts, nested, onArtifactListChange, onAddAllUnassigned} = this.props;
const formattedUnassigned = unassigned.map(buildLabelValueObject);
const formattedArtifacts = artifacts.map(buildLabelValueObject);
@@ -317,9 +315,7 @@ class SoftwareProductHeatSetupView extends Component {
(<ul>{formattedUnassigned.map(file => <UnassignedFile key={file.label} name={file.label}/>)}</ul>)
:
(<EmptyListContent
- heatDataExist={heatDataExist}
- isReadOnlyMode={this.props.isReadOnlyMode}
- onClick={() => this.processAndValidateHeat({modules, unassigned, artifacts, nested}, heatSetupCache)}/>)
+ heatDataExist={heatDataExist}/>)
}
</UnassignedFileList>
</div>