summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src/sdc-app/onboarding/OnboardingReducers.js
diff options
context:
space:
mode:
authorsvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>2018-05-31 15:01:00 +0300
committerEinav Keidar <einavw@amdocs.com>2018-07-01 05:51:14 +0000
commitfa538a14ed825d417dcbc0c846b98c1b512aa4dd (patch)
tree59d86f1dba38c54c901ca9845514a43ab18ce348 /openecomp-ui/src/sdc-app/onboarding/OnboardingReducers.js
parentc6a769eff2930fcf4f4dadb8106937abf86d8638 (diff)
archive flow styling fixes
Issue-ID: SDC-1383 Change-Id: I624adfc4eb2a441581583f29dc3d0d3512cb8f4c Signed-off-by: svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
Diffstat (limited to 'openecomp-ui/src/sdc-app/onboarding/OnboardingReducers.js')
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/OnboardingReducers.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/openecomp-ui/src/sdc-app/onboarding/OnboardingReducers.js b/openecomp-ui/src/sdc-app/onboarding/OnboardingReducers.js
index 9abae2d1c1..bb711cd749 100644
--- a/openecomp-ui/src/sdc-app/onboarding/OnboardingReducers.js
+++ b/openecomp-ui/src/sdc-app/onboarding/OnboardingReducers.js
@@ -163,6 +163,19 @@ const currentScreen = (
};
}
+ case actionTypes.UPDATE_ITEM_ARCHIVE_STATUS: {
+ const props = {
+ ...state.props,
+ status: action.isArchived
+ ? catalogItemStatuses.ARCHIVED
+ : catalogItemStatuses.ACTIVE
+ };
+ return {
+ ...state,
+ props
+ };
+ }
+
default:
return state;
}