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:
parent
29ea3dabcc
commit
78f6bf02e0
@ -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 => {
|
||||
|
Loading…
Reference in New Issue
Block a user