Skip to content

Commit

Permalink
Fix dropdown selection
Browse files Browse the repository at this point in the history
Signed-off-by: Bandini Bhopi <[email protected]>
  • Loading branch information
bandinib-amzn committed Feb 1, 2024
1 parent acd2cbb commit fe62897
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -630,10 +630,7 @@ export class CreateDataSourceForm extends React.Component<
</EuiFormRow>

{/* Create New credentials */}
{/* ToDo: Fetch credentials form from registry. getCredentialsForm will return null
if that auth method is not present in registry. */}
{/* {this.getAuthUIFromRegistry(this.state.auth.type)} */}
{this.getAuthUIFromRegistry('token_exchange')?.credentialForm}
{this.getAuthUIFromRegistry(this.state.auth.type)?.credentialForm}

{this.state.auth.type === AuthType.UsernamePasswordType
? this.renderCreateNewCredentialsForm(this.state.auth.type)
Expand Down

0 comments on commit fe62897

Please sign in to comment.