mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-24 00:37:46 +00:00
fixed conditional
This commit is contained in:
parent
4f6ab6de86
commit
75b10ea5dd
1 changed files with 2 additions and 2 deletions
|
|
@ -300,9 +300,9 @@ const Settings = () => {
|
|||
<div className={styles['label']}>{ t('PRIVACY_POLICY') }</div>
|
||||
</Button>
|
||||
</div>
|
||||
{ profile.auth !== null && profile.auth.user !== null && typeof profile.auth.user._id === 'string' ?
|
||||
{ profile.auth !== null && profile.auth.user !== null && typeof profile.auth.user.email === 'string' ?
|
||||
<div className={styles['option-container']}>
|
||||
<Button className={classnames(styles['option-input-container'], styles['link-container'])} title={t('RESET_PASSWORD')} target={'_blank'} href={`https://www.strem.io/reset-password/${profile?.auth?.user?.email}`}>
|
||||
<Button className={classnames(styles['option-input-container'], styles['link-container'])} title={t('RESET_PASSWORD')} target={'_blank'} href={`https://www.strem.io/reset-password/${profile.auth.user.email}`}>
|
||||
<div className={styles['label']}>{ t('RESET_PASSWORD') }</div>
|
||||
</Button>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue