mirror of
https://github.com/gnmyt/myspeed.git
synced 2026-05-12 23:19:08 -05:00
Fixed a bug in the DropdownComponent.jsx
This commit is contained in:
@@ -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")))
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user