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