We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3d35cd commit 9480e50Copy full SHA for 9480e50
src/containers/Tenant/Diagnostics/Overview/TransferInfo/Credentials.tsx
@@ -20,7 +20,9 @@ export function Credentials({connection}: CredentialsProps) {
20
}
21
22
if ('OAuthToken' in connection) {
23
- return connection.OAuthToken.Token || connection.OAuthToken.TokenSecretName ? 'OAuth' : '';
+ return connection.OAuthToken?.Token || connection.OAuthToken?.TokenSecretName
24
+ ? 'OAuth'
25
+ : '';
26
27
28
return 'unknown';
0 commit comments