diff --git a/ui/App/views/ServerSettings.jsx b/ui/App/views/ServerSettings.jsx index 009c132..8d68446 100644 --- a/ui/App/views/ServerSettings.jsx +++ b/ui/App/views/ServerSettings.jsx @@ -33,10 +33,11 @@ const ServerSettings = () => { data[key] = settings[key]; } }); - const res = settingsResource.server.update(data); - if (res) { - fetchSettings(); - } + settingsResource.server.update(data) + .then(() => { + fetchSettings() + .then(() => window.flash("Settings saved.", "green")) + }); } useEffect(() => {