From 1a44ebf04f9e44631e12b2476e811e07c8e405eb Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Sun, 20 Nov 2022 19:19:55 +0100 Subject: [PATCH] Fixed a bug in the DropdownComponent.jsx --- client/src/common/components/Dropdown/DropdownComponent.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/common/components/Dropdown/DropdownComponent.jsx b/client/src/common/components/Dropdown/DropdownComponent.jsx index 50bac2ae..56e9c390 100644 --- a/client/src/common/components/Dropdown/DropdownComponent.jsx +++ b/client/src/common/components/Dropdown/DropdownComponent.jsx @@ -203,7 +203,7 @@ function DropdownComponent() { placeholder: t("update.healthchecks_url"), value, buttonText: t("dialog.update"), unsetButton: !value.includes("") ? "Deaktivieren" : undefined, - onClear: () => patchDialog("/config/healthChecksUrl", {value: "https://hc-ping.com/"}) + onClear: () => patchRequest("/config/healthChecksUrl", {value: "https://hc-ping.com/"}) .then(() => showFeedback(t("update.healthchecks_activated"))) }));