1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-03-27 00:19:39 +01:00

fix(feature): redirect to list of features once feature is updated

This commit is contained in:
Corinne Krych 2018-02-17 17:23:56 +01:00
parent 29ea3dabcc
commit 78f6bf02e0

View File

@ -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 => {