Formatting Run

This commit is contained in:
Br0wnHammer committed 2025-06-11 15:29:25 +05:30
1 parent 7e1a7066fc
commit 1794429cbe
2 files changed
+8 -5

No files matched your search

+3 -4
View File
@@ -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 = ({
</Box>
)}
<Box>
<Typography>
{t("settingsEmailTLSServername")}
</Typography>
<Typography>{t("settingsEmailTLSServername")}</Typography>
<TextInput
name="systemEmailTLSServername"
placeholder="bluewavelabs.ca"
+5 -1
View File
@@ -64,7 +64,11 @@ const Settings = () => {
return;
}
let newValue;
if (name === "systemEmailIgnoreTLS" || name === "systemEmailRequireTLS" || name === "systemEmailRejectUnauthorized") {
if (
name === "systemEmailIgnoreTLS" ||
name === "systemEmailRequireTLS" ||
name === "systemEmailRejectUnauthorized"
) {
newValue = checked;
}
// Build next state early