mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	fix(feature): naviagation issue when updating feature
This commit is contained in:
		
							parent
							
								
									4dd033c30e
								
							
						
					
					
						commit
						2781c4304c
					
				@ -37,6 +37,7 @@ const prepare = (methods, dispatch) => {
 | 
				
			|||||||
        // TODO: should add error handling
 | 
					        // TODO: should add error handling
 | 
				
			||||||
        requestUpdateFeatureToggle(input)(dispatch)
 | 
					        requestUpdateFeatureToggle(input)(dispatch)
 | 
				
			||||||
            .then(() => methods.clear())
 | 
					            .then(() => methods.clear())
 | 
				
			||||||
 | 
					            .then(() => hashHistory.push(`/features`))
 | 
				
			||||||
            .then(() => hashHistory.push(`/features/strategies/${input.name}`));
 | 
					            .then(() => hashHistory.push(`/features/strategies/${input.name}`));
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user