3120 persist admin value

This commit is contained in:
Craig Lawson committed 2026-01-10 21:29:15 +00:00
1 parent fb3795bd70
commit ab4cc80628
5 files changed
+17 -12

No files matched your search

+5 -5
View File
@@ -80,11 +80,6 @@ const Settings = () => {
const handleChange = async (e) => {
const { name, value, checked } = e.target;
// Special case for showURL until handled properly in the backend
if (name === "showURL") {
dispatch(setShowURL(value));
return;
}
let newValue;
if (
name === "systemEmailIgnoreTLS" ||
@@ -167,6 +162,11 @@ const Settings = () => {
}
setSettingsData(newSettingsData);
// Update Redux immediately for UI feedback
if (name === "showURL") {
dispatch(setShowURL(newValue ?? value));
}
};
const handleSave = () => {