From 6692cde32bc3e588cfb6bf30fd99e21a903e0444 Mon Sep 17 00:00:00 2001 From: "andre.schmid" Date: Tue, 16 Jul 2019 10:01:17 +0000 Subject: Fix view attachment for onboarded CSAR packages Fixes the problem to view attachments for a onboarded CSAR package. Every time the attachments link was clicked the process package was being called. The package processing can only happen once, while uploading the package. This solution changes the Attachment link action to a view action without package processing. Change-Id: I5bded800c060adfb8cc80a8512bc8eecf07557b8 Issue-ID: SDC-2443 Signed-off-by: andre.schmid --- openecomp-ui/src/sdc-app/common/helpers/ScreensHelper.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'openecomp-ui/src/sdc-app/common/helpers') diff --git a/openecomp-ui/src/sdc-app/common/helpers/ScreensHelper.js b/openecomp-ui/src/sdc-app/common/helpers/ScreensHelper.js index 58f47957de..afa5a42f83 100644 --- a/openecomp-ui/src/sdc-app/common/helpers/ScreensHelper.js +++ b/openecomp-ui/src/sdc-app/common/helpers/ScreensHelper.js @@ -179,6 +179,13 @@ const ScreensHelper = { vspProps ); break; + case enums.SCREEN + .SOFTWARE_PRODUCT_ATTACHMENTS_VIEW_VALIDATION: + OnboardingActionHelper.viewSoftwareProductAttachmentsValidationTab( + dispatch, + vspProps + ); + break; case enums.SCREEN.SOFTWARE_PRODUCT_PROCESSES: OnboardingActionHelper.navigateToSoftwareProductProcesses( dispatch, -- cgit 1.2.3-korg