mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	* fix: move admin to components and add ProjectRoles route * feat: fetch project roles and create project roles list * fix: add pagination and update tests * update projectRoles folder name Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
		
			
				
	
	
		
			13 lines
		
	
	
		
			421 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			421 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import { connect } from 'react-redux';
 | |
| import OidcAuth from './oidc-auth';
 | |
| import { getOidcConfig, updateOidcConfig } from '../../../store/e-admin-auth/actions';
 | |
| 
 | |
| const mapStateToProps = state => ({
 | |
|     config: state.authAdmin.get('oidc'),
 | |
|     unleashUrl: state.uiConfig.toJS().unleashUrl,
 | |
| });
 | |
| 
 | |
| const OidcContainer = connect(mapStateToProps, { getOidcConfig, updateOidcConfig })(OidcAuth);
 | |
| 
 | |
| export default OidcContainer;
 |