diff --git a/web/source/settings-panel/admin/settings.js b/web/source/settings-panel/admin/settings.js index 09c8580ac..845a1f924 100644 --- a/web/source/settings-panel/admin/settings.js +++ b/web/source/settings-panel/admin/settings.js @@ -67,7 +67,7 @@ module.exports = function AdminSettings() { /> diff --git a/web/source/settings-panel/lib/api/admin.js b/web/source/settings-panel/lib/api/admin.js index 7873975f4..30b72f5e0 100644 --- a/web/source/settings-panel/lib/api/admin.js +++ b/web/source/settings-panel/lib/api/admin.js @@ -32,7 +32,8 @@ module.exports = function ({ apiCall, getChanges }) { const state = getState().instances.adminSettings; const update = getChanges(state, { - formKeys: ["title", "short_description", "description", "contact_username", "email", "terms"], + formKeys: ["title", "short_description", "description", "contact_account.username", "email", "terms"], + renamedKeys: {"contact_account.username": "contact_username"}, // fileKeys: ["avatar", "header"] });