summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src/sdc-app/onboarding/OnboardingPunchOut.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/src/sdc-app/onboarding/OnboardingPunchOut.jsx')
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/OnboardingPunchOut.jsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/openecomp-ui/src/sdc-app/onboarding/OnboardingPunchOut.jsx b/openecomp-ui/src/sdc-app/onboarding/OnboardingPunchOut.jsx
index 245dd2b55c..a73501468c 100644
--- a/openecomp-ui/src/sdc-app/onboarding/OnboardingPunchOut.jsx
+++ b/openecomp-ui/src/sdc-app/onboarding/OnboardingPunchOut.jsx
@@ -232,12 +232,13 @@ export default class OnboardingPunchOut {
softwareProductScreen ===
enums.SCREEN.SOFTWARE_PRODUCT_ATTACHMENTS
) {
- softwareProduct = vspData;
+ softwareProduct = { ...vspData };
//check current vsp fields to determine which file has uploaded
+
if (
- vspData.onboardingOrigin ===
+ vspData.onboardingOrigin.toLowerCase() ===
onboardingOriginTypes.ZIP ||
- vspData.candidateOnboardingOrigin ===
+ vspData.candidateOnboardingOrigin.toLowerCase() ===
onboardingOriginTypes.ZIP
) {
softwareProductScreen =