This commit is contained in:
Mateusz Gruszczyński
2026-09-16 22:38:45 +02:00
parent bb39ab9dfa
commit e02557bb65
15 changed files with 136 additions and 55 deletions
+2
View File
@@ -181,6 +181,7 @@ async function saveMainSettings(form, notify = true) {
applySettingsSection('application', application);
applySettingsSection('gree', gree);
applySettingsSection('greeCloud', greeCloud);
invalidateGreeCloudRuntimeStatusCache();
applySettingsSection('history', history);
applySettingsSection('influxdb', influxdb);
applySettingsSection('notifications', notifications);
@@ -474,6 +475,7 @@ document.addEventListener('click', event => {
async function saveGreeCloudSettings(form = $('#settingsForm')) {
const data = await api(SETTINGS_ENDPOINTS.greeCloud, { method: 'PUT', body: greeCloudSettingsBodyFromForm(form) });
applySettingsSection('greeCloud', data);
invalidateGreeCloudRuntimeStatusCache();
return data;
}