1
0
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:
Corinne Krych 2018-02-11 18:31:48 +01:00
parent 056cb4cda2
commit 63e0fc6568

View File

@ -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}`));
}; };