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.
2 parents 0875b89 + 8968055 commit 83a7f6fCopy full SHA for 83a7f6f
src/routes/Settings/Settings.js
@@ -314,7 +314,7 @@ const Settings = () => {
314
</div>
315
<Button className={classnames(styles['option-input-container'], styles['button-container'])} title={'Authenticate'} disabled={profile.auth === null} tabIndex={-1} onClick={toggleTraktOnClick}>
316
<div className={styles['label']}>
317
- { profile.auth !== null && profile.auth.user !== null && profile.auth.user.trakt !== null ? t('LOG_OUT') : t('SETTINGS_TRAKT_AUTHENTICATE') }
+ { isTraktAuthenticated ? t('LOG_OUT') : t('SETTINGS_TRAKT_AUTHENTICATE') }
318
319
</Button>
320
0 commit comments