diff --git a/client/src/common/components/Dropdown/DropdownComponent.jsx b/client/src/common/components/Dropdown/DropdownComponent.jsx index 75a5d527..95b091af 100644 --- a/client/src/common/components/Dropdown/DropdownComponent.jsx +++ b/client/src/common/components/Dropdown/DropdownComponent.jsx @@ -266,6 +266,17 @@ function DropdownComponent() { buttonText: "Okay" }); + const updateIntegration = async () => patchDialog("healthChecksUrl", (value) => ({ + title: <>HealthChecks Integration ?, + placeholder: "HealthChecks Server URL", value, + buttonText: "Aktualisieren", + unsetButton: !value.includes(""), + unsetButtonText: "Deaktivieren", + onClear: () => fetch("/api/config/healthChecksUrl", {headers: headers, method: "PATCH", + body: JSON.stringify({value: "https://hc-ping.com/"}) + }).then(() => showFeedback(<>Die Healthchecks wurden deaktiviert)) + })); + return (