File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -137,17 +137,18 @@ export function CredentialSourcePrompt({
137137 < Box flexDirection = "column" gap = { 1 } >
138138 < Text bold > Identity Provider Setup</ Text >
139139 < Text dimColor >
140- { missingCredentials . length } identity provider{ missingCredentials . length > 1 ? 's' : '' } configured:
140+ { new Set ( missingCredentials . map ( c => c . providerName ) ) . size } identity provider
141+ { new Set ( missingCredentials . map ( c => c . providerName ) ) . size > 1 ? 's' : '' } configured:
141142 </ Text >
142143 < Box flexDirection = "column" marginLeft = { 2 } >
143- { missingCredentials . map ( cred => (
144- < Text key = { cred . envVarName } dimColor >
145- • { cred . providerName }
144+ { [ ... new Set ( missingCredentials . map ( c => c . providerName ) ) ] . map ( name => (
145+ < Text key = { name } dimColor >
146+ • { name }
146147 </ Text >
147148 ) ) }
148149 </ Box >
149150 < Box marginTop = { 1 } >
150- < Text dimColor > How would you like to provide the API keys ?</ Text >
151+ < Text dimColor > How would you like to provide the credentials ?</ Text >
151152 </ Box >
152153 < Box marginTop = { 1 } >
153154 < SelectList items = { SOURCE_OPTIONS } selectedIndex = { selectedIndex } />
You can’t perform that action at this time.
0 commit comments