File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/profile/external-identities Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ type ExternalIdentitiesProps = {
1515export const ExternalIdentities = ( props : ExternalIdentitiesProps ) : ReactNode => {
1616 const { queryParams } = props ;
1717 const providers = ( getConfig ( ) . externalCreds ?. providers || [ ] ) as OAuth2ProviderKey [ ] ;
18- const hasRas = providers . includes ( 'ras' ) ;
1918 const filteredProviders = providers . filter (
2019 ( p : any ) =>
2120 ( p !== 'github' && p !== 'sage' ) ||
@@ -25,7 +24,7 @@ export const ExternalIdentities = (props: ExternalIdentitiesProps): ReactNode =>
2524
2625 return (
2726 < PageBox role = 'main' style = { { flexGrow : 1 } } variant = { PageBoxVariants . light } >
28- { ! hasRas && < NihAccount nihToken = { queryParams ?. [ 'nih-username-token' ] } /> }
27+ < NihAccount nihToken = { queryParams ?. [ 'nih-username-token' ] } />
2928 { filteredProviders . map ( ( providerKey : OAuth2ProviderKey ) => (
3029 < OAuth2Account
3130 key = { `oauth2link-${ providerKey } ` }
You can’t perform that action at this time.
0 commit comments