mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix(feature): naviagation issue when updating feature
This commit is contained in:
parent
056cb4cda2
commit
63e0fc6568
@ -37,6 +37,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/strategies/${input.name}`));
|
.then(() => hashHistory.push(`/features/strategies/${input.name}`));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user