mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	fix(archive): do not disaply add strategy in read-only mode
This commit is contained in:
		
							parent
							
								
									6db1483a42
								
							
						
					
					
						commit
						6b08647403
					
				@ -25,7 +25,11 @@ class StrategiesSectionComponent extends React.Component {
 | 
			
		||||
 | 
			
		||||
        return (
 | 
			
		||||
            <div>
 | 
			
		||||
                {this.props.addStrategy ? (
 | 
			
		||||
                    <HeaderTitle title="Activation strategies" actions={<AddStrategy {...this.props} />} />
 | 
			
		||||
                ) : (
 | 
			
		||||
                    <span />
 | 
			
		||||
                )}
 | 
			
		||||
                <StrategiesList {...this.props} />
 | 
			
		||||
            </div>
 | 
			
		||||
        );
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user