mirror of
https://github.com/BreizhHardware/Jellystat.git
synced 2026-01-18 16:27:20 +01:00
Update src/pages/components/settings/webhooks.jsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -198,6 +198,7 @@ function WebhooksSettings() {
|
|||||||
const handleTest = async (webhook) => {
|
const handleTest = async (webhook) => {
|
||||||
if (!webhook || !webhook.id) {
|
if (!webhook || !webhook.id) {
|
||||||
setError("Impossible to test the webhook: no webhook provided");
|
setError("Impossible to test the webhook: no webhook provided");
|
||||||
|
setLoading(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user