File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
components/YDBDefinitionList
containers/Tenant/Diagnostics/Overview/TransferInfo Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export function YDBDefinitionList({
4242 { ...restProps }
4343 >
4444 { items . map ( ( item ) => (
45- < DefinitionList . Item key = { item . name } { ...item } />
45+ < DefinitionList . Item key = { item . name } children = { item . content } { ...item } />
4646 ) ) }
4747 </ DefinitionList >
4848 ) ;
Original file line number Diff line number Diff line change @@ -20,7 +20,10 @@ export function Credentials({connection}: CredentialsProps) {
2020 }
2121
2222 if ( 'OAuthToken' in connection ) {
23- return 'OAuth' ;
23+ return connection . OAuthToken !== undefined &&
24+ ( 'Token' in connection . OAuthToken || 'TokenSecretName' in connection . OAuthToken )
25+ ? 'OAuth'
26+ : '' ;
2427 }
2528
2629 return 'unknown' ;
You can’t perform that action at this time.
0 commit comments