From dac1bb9f884ad07d2457ffa952e1574ff09b08ac Mon Sep 17 00:00:00 2001 From: Mathium05 Date: Mon, 17 Aug 2026 19:25:28 -0500 Subject: [PATCH] fix up Webhook management --- src/webpage/style.css | 2 +- src/webpage/webhooks.ts | 2 +- translations/en.json | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/webpage/style.css b/src/webpage/style.css index d865884..b239c50 100644 --- a/src/webpage/style.css +++ b/src/webpage/style.css @@ -4401,7 +4401,7 @@ fieldset input[type="radio"] { padding: 6px; cursor: pointer; margin-top: 6px; - img { + .pfpDiv { width: 48px !important; height: 48px !important; padding: 4px !important; diff --git a/src/webpage/webhooks.ts b/src/webpage/webhooks.ts index 332c67d..578a78a 100644 --- a/src/webpage/webhooks.ts +++ b/src/webpage/webhooks.ts @@ -156,7 +156,7 @@ async function webhookMenu( form.addHTMLArea(div); } catch {} form.addButtonInput("", I18n.webhooks.deleteWebhook(), () => { - const d = new Dialog("areYouSureDelete"); + const d = new Dialog(I18n.webhooks.areYouSureDeleteHead(hook.name)); const opt = d.options; opt.addTitle(I18n.webhooks.areYouSureDelete(hook.name)); const opt2 = opt.addOptions("", {ltr: true}); diff --git a/translations/en.json b/translations/en.json index a63156b..27acb92 100644 --- a/translations/en.json +++ b/translations/en.json @@ -1038,6 +1038,7 @@ "webhooks": { "EnterWebhookName": "Enter webhook name", "areYouSureDelete": "Are you sure you want to delete $1?", + "areYouSureDeleteHead":"Delete $1?", "avatar": "Avatar", "base": "Webhooks", "channel": "Webhook outputs to channel:",