mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	fix(feature): redirect to list of features once feature is updated
This commit is contained in:
		
							parent
							
								
									29ea3dabcc
								
							
						
					
					
						commit
						78f6bf02e0
					
				@ -39,8 +39,7 @@ const prepare = (methods, dispatch) => {
 | 
			
		||||
        // TODO: should add error handling
 | 
			
		||||
        requestUpdateFeatureToggle(input)(dispatch)
 | 
			
		||||
            .then(() => methods.clear())
 | 
			
		||||
            .then(() => hashHistory.push(`/features`))
 | 
			
		||||
            .then(() => hashHistory.push(`/features/strategies/${input.name}`));
 | 
			
		||||
            .then(() => hashHistory.push(`/features`));
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    methods.onCancel = evt => {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user