refactor(Settings): hide remote endpoint select if user is not auth

This commit is contained in:
Tim 2023-12-17 23:39:27 +01:00
parent 0774463315
commit 5df432c220

View file

@ -558,7 +558,7 @@ const Settings = () => {
null
}
{
remoteEndpointSelect !== null ?
profile.auth !== null && profile.auth.user !== null && remoteEndpointSelect !== null ?
<div className={styles['option-container']}>
<div className={styles['option-name-container']}>
<div className={styles['label']}>{ t('SETTINGS_HTTPS_ENDPOINT') }</div>