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