Fixed a bug in the DropdownComponent.jsx

This commit is contained in:
Mathias Wagner
2022-11-20 19:19:55 +01:00
parent b5cff0e61e
commit 1a44ebf04f
@@ -203,7 +203,7 @@ function DropdownComponent() {
placeholder: t("update.healthchecks_url"), value,
buttonText: t("dialog.update"),
unsetButton: !value.includes("<uuid>") ? "Deaktivieren" : undefined,
onClear: () => patchDialog("/config/healthChecksUrl", {value: "https://hc-ping.com/<uuid>"})
onClear: () => patchRequest("/config/healthChecksUrl", {value: "https://hc-ping.com/<uuid>"})
.then(() => showFeedback(t("update.healthchecks_activated")))
}));