mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-11 00:08:30 +01:00
go to new toggle when created
This commit is contained in:
parent
171aaef287
commit
986550887b
@ -12,7 +12,7 @@ const prepare = (methods, dispatch) => {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
createFeatureToggles(input)(dispatch)
|
createFeatureToggles(input)(dispatch)
|
||||||
.then(() => methods.clear())
|
.then(() => methods.clear())
|
||||||
.then(() => hashHistory.push('/features'));
|
.then(() => hashHistory.push(`/features/edit/${input.name}`));
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user