Skip to content

Commit a72085d

Browse files
authored
Merge pull request #2863 from RedisInsight/fe/bugfix/RI-5254
#RI-5254 - fix telemetry property
2 parents 4967c0b + 0484ac6 commit a72085d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

redisinsight/ui/src/components/oauth/oauth-social/OAuthSocial.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ describe('OAuthSocial', () => {
5858
eventData: {
5959
accountOption: 'Google',
6060
action: 'create',
61-
recommendedSettings: null
61+
recommendedSettings: 'not displayed'
6262
}
6363
})
6464

@@ -85,7 +85,7 @@ describe('OAuthSocial', () => {
8585
eventData: {
8686
accountOption: 'GitHub',
8787
action: 'create',
88-
recommendedSettings: null
88+
recommendedSettings: 'not displayed'
8989
}
9090
})
9191

redisinsight/ui/src/components/oauth/oauth-social/OAuthSocial.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const OAuthSocial = ({ type = OAuthSocialType.Modal, hideTitle = false }: Props)
4848
recommendedSettings: isAutodiscovery
4949
? undefined
5050
: (!isRecommendedFeatureEnabled?.flag
51-
? null
51+
? 'not displayed'
5252
: (isRecommended ? 'enabled' : 'disabled'))
5353
}
5454
})

0 commit comments

Comments
 (0)