mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
parent
993222a749
commit
1a21e16710
@ -18,6 +18,7 @@ const prepare = (methods, dispatch) => {
|
||||
|
||||
methods.onCancel = (evt) => {
|
||||
evt.preventDefault();
|
||||
methods.clear();
|
||||
hashHistory.push('/features');
|
||||
};
|
||||
|
||||
|
@ -33,6 +33,7 @@ const prepare = (methods, dispatch) => {
|
||||
|
||||
methods.onCancel = (evt) => {
|
||||
evt.preventDefault();
|
||||
methods.clear();
|
||||
hashHistory.push('/features');
|
||||
};
|
||||
|
||||
|
@ -29,6 +29,7 @@ const prepare = (methods, dispatch) => {
|
||||
|
||||
methods.onCancel = (e) => {
|
||||
e.preventDefault();
|
||||
methods.clear();
|
||||
// somewhat quickfix / hacky to go back..
|
||||
window.history.back();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user