mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +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