diff --git a/src/dashboard.py b/src/dashboard.py index 07e65f7..5603848 100644 --- a/src/dashboard.py +++ b/src/dashboard.py @@ -2382,7 +2382,7 @@ def API_updateDashboardConfigurationItem(): valid, msg = DashboardConfig.SetConfig( data["section"], data["key"], data['value']) if not valid: - return ResponseObject(False, msg, status_code=404) + return ResponseObject(False, msg) if data['section'] == "Server": if data['key'] == 'wg_conf_path': WireguardConfigurations.clear() diff --git a/src/static/app/src/components/navbarComponents/agentModal.vue b/src/static/app/src/components/navbarComponents/agentModal.vue index fc3bc92..8ff2d54 100644 --- a/src/static/app/src/components/navbarComponents/agentModal.vue +++ b/src/static/app/src/components/navbarComponents/agentModal.vue @@ -1,6 +1,5 @@