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 948d5e2 commit f49e527Copy full SHA for f49e527
src/containers/Tenant/Diagnostics/Overview/TransferInfo/Credentials.tsx
@@ -20,7 +20,8 @@ export function Credentials({connection}: CredentialsProps) {
20
}
21
22
if ('OAuthToken' in connection) {
23
- return 'Token' in connection.OAuthToken || 'TokenSecretName' in connection.OAuthToken
+ return connection.OAuthToken !== undefined &&
24
+ ('Token' in connection.OAuthToken || 'TokenSecretName' in connection.OAuthToken)
25
? 'OAuth'
26
: '';
27
0 commit comments