From 1794429cbeb801c76c728b515a06487e4509d61b Mon Sep 17 00:00:00 2001 From: Br0wnHammer Date: Wed, 11 Jun 2025 15:29:25 +0530 Subject: [PATCH] Formatting Run --- client/src/Pages/Settings/SettingsEmail.jsx | 7 +++---- client/src/Pages/Settings/index.jsx | 6 +++++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/client/src/Pages/Settings/SettingsEmail.jsx b/client/src/Pages/Settings/SettingsEmail.jsx index 73ba11610..7d6538734 100644 --- a/client/src/Pages/Settings/SettingsEmail.jsx +++ b/client/src/Pages/Settings/SettingsEmail.jsx @@ -57,7 +57,8 @@ const SettingsEmail = ({ systemEmailTLSServername: settingsData?.settings?.systemEmailTLSServername, systemEmailIgnoreTLS: settingsData?.settings?.systemEmailIgnoreTLS, systemEmailRequireTLS: settingsData?.settings?.systemEmailRequireTLS, - systemEmailRejectUnauthorized: settingsData?.settings?.systemEmailRejectUnauthorized, + systemEmailRejectUnauthorized: + settingsData?.settings?.systemEmailRejectUnauthorized, }; // Basic validation @@ -161,9 +162,7 @@ const SettingsEmail = ({ )} - - {t("settingsEmailTLSServername")} - + {t("settingsEmailTLSServername")} { return; } let newValue; - if (name === "systemEmailIgnoreTLS" || name === "systemEmailRequireTLS" || name === "systemEmailRejectUnauthorized") { + if ( + name === "systemEmailIgnoreTLS" || + name === "systemEmailRequireTLS" || + name === "systemEmailRejectUnauthorized" + ) { newValue = checked; } // Build next state early