1
0
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:
sveisvei 2016-12-13 20:45:56 +01:00
parent 171aaef287
commit 986550887b

View File

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