Formatting Run
This commit is contained in:
1 parent
7e1a7066fc
commit
1794429cbe
2 files changed
+8
-5
No files matched your search
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user