From 9a79dcedfaaf173d2f301bb18b1832a799b1bc2f Mon Sep 17 00:00:00 2001 From: svishnev Date: Wed, 7 Mar 2018 16:41:59 +0200 Subject: heat validation tabs and download fix Issue-ID: SDC-1084 Change-Id: I548c42c1cad316e336017269e6793d1750639e0a Signed-off-by: svishnev --- .../softwareProduct/attachments/setup/HeatSetupView.jsx | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/setup/HeatSetupView.jsx') 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 (
-
{i18n(displayText)}
- {heatDataExist && } +
{i18n(displayText)}
); }; @@ -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 { () : ( this.processAndValidateHeat({modules, unassigned, artifacts, nested}, heatSetupCache)}/>) + heatDataExist={heatDataExist}/>) } -- cgit 1.2.3-korg