Changeset 0.20.0 (#85)
This commit is contained in:
@@ -256,6 +256,12 @@ async function handleSaveAdminSettings() {
|
||||
}});
|
||||
await API.adminUpdateSetting('memory_extraction_enabled', { value: memExtractionEnabled });
|
||||
|
||||
// Email / SMTP config (v0.20.0 Phase 3)
|
||||
if (typeof NotifPrefs !== 'undefined' && NotifPrefs._getAdminSmtp) {
|
||||
const smtpConfig = NotifPrefs._getAdminSmtp();
|
||||
await API.adminUpdateSetting('notifications', { value: smtpConfig });
|
||||
}
|
||||
|
||||
UI.toast('Settings saved', 'success');
|
||||
// Live-apply: refresh policies and dependent UI
|
||||
await initBanners();
|
||||
|
||||
Reference in New Issue
Block a user