mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-17 01:17:29 +02: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
|
// TODO: should add error handling
|
||||||
requestUpdateFeatureToggle(input)(dispatch)
|
requestUpdateFeatureToggle(input)(dispatch)
|
||||||
.then(() => methods.clear())
|
.then(() => methods.clear())
|
||||||
.then(() => hashHistory.push(`/features`))
|
.then(() => hashHistory.push(`/features`));
|
||||||
.then(() => hashHistory.push(`/features/strategies/${input.name}`));
|
|
||||||
};
|
};
|
||||||
|
|
||||||
methods.onCancel = evt => {
|
methods.onCancel = evt => {
|
||||||
|
Loading…
Reference in New Issue
Block a user