From 63e0fc65684285fc5b0f43d7533bc76a8f57fd2e Mon Sep 17 00:00:00 2001 From: Corinne Krych Date: Sun, 11 Feb 2018 18:31:48 +0100 Subject: [PATCH] fix(feature): naviagation issue when updating feature --- frontend/src/component/feature/form-edit-container.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/component/feature/form-edit-container.jsx b/frontend/src/component/feature/form-edit-container.jsx index 21681a77b8..9b68e43b33 100644 --- a/frontend/src/component/feature/form-edit-container.jsx +++ b/frontend/src/component/feature/form-edit-container.jsx @@ -37,6 +37,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}`)); };