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,
|
systemEmailTLSServername: settingsData?.settings?.systemEmailTLSServername,
|
||||||
systemEmailIgnoreTLS: settingsData?.settings?.systemEmailIgnoreTLS,
|
systemEmailIgnoreTLS: settingsData?.settings?.systemEmailIgnoreTLS,
|
||||||
systemEmailRequireTLS: settingsData?.settings?.systemEmailRequireTLS,
|
systemEmailRequireTLS: settingsData?.settings?.systemEmailRequireTLS,
|
||||||
systemEmailRejectUnauthorized: settingsData?.settings?.systemEmailRejectUnauthorized,
|
systemEmailRejectUnauthorized:
|
||||||
|
settingsData?.settings?.systemEmailRejectUnauthorized,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Basic validation
|
// Basic validation
|
||||||
@@ -161,9 +162,7 @@ const SettingsEmail = ({
|
|||||||
</Box>
|
</Box>
|
||||||
)}
|
)}
|
||||||
<Box>
|
<Box>
|
||||||
<Typography>
|
<Typography>{t("settingsEmailTLSServername")}</Typography>
|
||||||
{t("settingsEmailTLSServername")}
|
|
||||||
</Typography>
|
|
||||||
<TextInput
|
<TextInput
|
||||||
name="systemEmailTLSServername"
|
name="systemEmailTLSServername"
|
||||||
placeholder="bluewavelabs.ca"
|
placeholder="bluewavelabs.ca"
|
||||||
|
|||||||
@@ -64,7 +64,11 @@ const Settings = () => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let newValue;
|
let newValue;
|
||||||
if (name === "systemEmailIgnoreTLS" || name === "systemEmailRequireTLS" || name === "systemEmailRejectUnauthorized") {
|
if (
|
||||||
|
name === "systemEmailIgnoreTLS" ||
|
||||||
|
name === "systemEmailRequireTLS" ||
|
||||||
|
name === "systemEmailRejectUnauthorized"
|
||||||
|
) {
|
||||||
newValue = checked;
|
newValue = checked;
|
||||||
}
|
}
|
||||||
// Build next state early
|
// Build next state early
|
||||||
|
|||||||
Reference in new issue
Block a user