From dc23d7698fff004dfbd6e03daf985b10c94dbfc7 Mon Sep 17 00:00:00 2001 From: TheCatLady <52870424+TheCatLady@users.noreply.github.com> Date: Sun, 17 Oct 2021 17:05:48 -0400 Subject: [PATCH] fix: correctly set opacity when checkbox disabled --- .../Settings/SettingsUsers/index.tsx | 21 ++----------------- src/i18n/locale/en.json | 1 - 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/src/components/Settings/SettingsUsers/index.tsx b/src/components/Settings/SettingsUsers/index.tsx index b7771a3e0..9ffffaa79 100644 --- a/src/components/Settings/SettingsUsers/index.tsx +++ b/src/components/Settings/SettingsUsers/index.tsx @@ -28,8 +28,6 @@ const messages = defineMessages({ defaultPermissions: 'Default Permissions', defaultPermissionsTip: 'Initial permissions assigned to new users', signinMethods: 'Sign-In Methods', - plexSigninHoverTip: - 'To disable Plex OAuth, email notifications must be enabled and the server owner must have a password configured for their account.', passwordSignin: '{applicationTitle} Password', validationSigninMethods: 'At least one sign-in method must be selected', }); @@ -75,7 +73,7 @@ const SettingsUsers = () => { const allowPlexSigninDisable = ownerData?.hasPassword && - settings.currentSettings.applicationUrl && + !!settings.currentSettings.applicationUrl && settings.currentSettings.emailEnabled; return ( @@ -162,10 +160,7 @@ const SettingsUsers = () => {