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({
42
42
{ ...restProps }
43
43
>
44
44
{ items . map ( ( item ) => (
45
- < DefinitionList . Item key = { item . name } { ...item } />
45
+ < DefinitionList . Item key = { item . name } children = { item . content } { ...item } />
46
46
) ) }
47
47
</ DefinitionList >
48
48
) ;
Original file line number Diff line number Diff line change @@ -20,7 +20,10 @@ export function Credentials({connection}: CredentialsProps) {
20
20
}
21
21
22
22
if ( 'OAuthToken' in connection ) {
23
- return 'OAuth' ;
23
+ return connection . OAuthToken !== undefined &&
24
+ ( 'Token' in connection . OAuthToken || 'TokenSecretName' in connection . OAuthToken )
25
+ ? 'OAuth'
26
+ : '' ;
24
27
}
25
28
26
29
return 'unknown' ;
You can’t perform that action at this time.
0 commit comments