summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src/sdc-app/onboarding/softwareProduct
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/src/sdc-app/onboarding/softwareProduct')
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/SoftwareProductAttachmentsView.jsx11
1 files changed, 4 insertions, 7 deletions
diff --git a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/SoftwareProductAttachmentsView.jsx b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/SoftwareProductAttachmentsView.jsx
index 08145be9c7..814f9b38e0 100644
--- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/SoftwareProductAttachmentsView.jsx
+++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/SoftwareProductAttachmentsView.jsx
@@ -53,6 +53,7 @@ class HeatScreenView extends Component {
onboardingOrigin,
activeTab,
setActiveTab,
+ goToOverview,
...other
} = this.props;
@@ -82,17 +83,13 @@ class HeatScreenView extends Component {
/>
)}
{activeTab === tabsMapping.VALIDATION &&
- softwareProductId && (
+ softwareProductId &&
+ goToOverview && (
<Button
btnType="secondary"
data-test-id="go-to-overview"
- disabled={this.props.goToOverview !== true}
className="go-to-overview-btn"
- onClick={
- this.props.goToOverview
- ? () => onGoToOverview({ version })
- : undefined
- }>
+ onClick={() => onGoToOverview({ version })}>
{i18n('GO TO OVERVIEW')}
</Button>
)}