From 78f6bf02e08f9cdde08342d6dd7aff2d8617bb19 Mon Sep 17 00:00:00 2001 From: Corinne Krych Date: Sat, 17 Feb 2018 17:23:56 +0100 Subject: [PATCH] fix(feature): redirect to list of features once feature is updated --- .../component/feature/form/form-update-feature-container.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/component/feature/form/form-update-feature-container.jsx b/frontend/src/component/feature/form/form-update-feature-container.jsx index 185df3f99a..58c755487e 100644 --- a/frontend/src/component/feature/form/form-update-feature-container.jsx +++ b/frontend/src/component/feature/form/form-update-feature-container.jsx @@ -39,8 +39,7 @@ const prepare = (methods, dispatch) => { // TODO: should add error handling requestUpdateFeatureToggle(input)(dispatch) .then(() => methods.clear()) - .then(() => hashHistory.push(`/features`)) - .then(() => hashHistory.push(`/features/strategies/${input.name}`)); + .then(() => hashHistory.push(`/features`)); }; methods.onCancel = evt => {