summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/src')
-rw-r--r--openecomp-ui/src/nfvo-components/input/validation/ValidationButtons.jsx1
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/SoftwareProductAttachmentsView.jsx11
2 files changed, 10 insertions, 2 deletions
diff --git a/openecomp-ui/src/nfvo-components/input/validation/ValidationButtons.jsx b/openecomp-ui/src/nfvo-components/input/validation/ValidationButtons.jsx
index 9530b6521d..550989688e 100644
--- a/openecomp-ui/src/nfvo-components/input/validation/ValidationButtons.jsx
+++ b/openecomp-ui/src/nfvo-components/input/validation/ValidationButtons.jsx
@@ -64,6 +64,7 @@ class ValidationButtons extends React.Component {
<Button
type="submit"
btnType="primary"
+ size="default"
data-test-id="form-submit-button"
disabled={!this.state.isValid}>
{submitBtn}
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 814f9b38e0..2b4d5571f3 100644
--- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/SoftwareProductAttachmentsView.jsx
+++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/SoftwareProductAttachmentsView.jsx
@@ -152,14 +152,21 @@ class HeatScreenView extends Component {
}
onProcessAndValidate={onProcessAndValidate}
softwareProductId={softwareProductId}
- isReadOnlyMode={isReadOnlyMode}
+ isReadOnlyMode={
+ isReadOnlyMode ||
+ (candidateInProcess && !goToOverview) ||
+ !candidateInProcess
+ }
version={version}
/>
</Tab>
<Tab
tabId={tabsMapping.VALIDATION}
title="Validation"
- disabled={!isValidationAvailable || candidateInProcess}>
+ disabled={
+ goToOverview &&
+ (!isValidationAvailable || candidateInProcess)
+ }>
<HeatValidation {...other} />
</Tab>
</Tabs>