diff options
author | KrupaNagabhushan <krupa.nagabhushan@est.tech> | 2022-04-04 17:49:50 +0100 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2022-04-08 08:50:48 +0000 |
commit | 881438cf4704590573a27aa2717d7bb3552ab573 (patch) | |
tree | 88afc1315bca6730896856d27d5f448952f9c6f0 /openecomp-ui/src/sdc-app/onboarding/versionsPage/VersionsPage.js | |
parent | f64976e64325073e08dce191d99bb807efd98301 (diff) |
Delete VSP - Onboarding UI support for VSP deletion
Issue-ID: SDC-3952
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: Ib7258fe7002f5db03ccec84e935adfe0d217bfad
Diffstat (limited to 'openecomp-ui/src/sdc-app/onboarding/versionsPage/VersionsPage.js')
-rw-r--r-- | openecomp-ui/src/sdc-app/onboarding/versionsPage/VersionsPage.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openecomp-ui/src/sdc-app/onboarding/versionsPage/VersionsPage.js b/openecomp-ui/src/sdc-app/onboarding/versionsPage/VersionsPage.js index bbf45338f5..61c0d0a88f 100644 --- a/openecomp-ui/src/sdc-app/onboarding/versionsPage/VersionsPage.js +++ b/openecomp-ui/src/sdc-app/onboarding/versionsPage/VersionsPage.js @@ -98,7 +98,9 @@ export const mapActionsToProps = ( }, onArchive: () => VersionsPageActionHelper.archiveItem(dispatch, itemId), onRestore: () => - VersionsPageActionHelper.restoreItemFromArchive(dispatch, itemId) + VersionsPageActionHelper.restoreItemFromArchive(dispatch, itemId), + onDelete: () => + VersionsPageActionHelper.deleteItemFromArchive(dispatch, itemId) }; }; |