summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments
diff options
context:
space:
mode:
authorsvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>2018-04-22 14:14:31 +0300
committerEinav Keidar <einavw@amdocs.com>2018-04-22 12:19:13 +0000
commit57c5c4ab80cde4290cac97a6eba3dc7de280538a (patch)
tree450d14403035554ca79f0de55c40c81b71e7740e /openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments
parenteb4b9fb0f4d3b62f3b9e2da81ebe581e7d0fc6eb (diff)
attachment page navigation fix
Issue-ID: SDC-1239 Change-Id: Ib597238233e9a035944b7a56a56601cdfd624ca2 Signed-off-by: svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
Diffstat (limited to 'openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments')
-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>
)}