From 7cb19adfbe5da62b3503c0cbe5b11aa4e3523985 Mon Sep 17 00:00:00 2001 From: SauceyRed Date: Sat, 16 Aug 2025 12:31:43 +0200 Subject: [PATCH 1/3] fix: kick and ban would execute regardless of prompt due to calling the function in the Button callback prop instead of just passing it --- components/Modal/Confirmation.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Modal/Confirmation.vue b/components/Modal/Confirmation.vue index 8958909..f1a5cae 100644 --- a/components/Modal/Confirmation.vue +++ b/components/Modal/Confirmation.vue @@ -6,7 +6,7 @@
From c9bbd10af19847408ac7da7eec6d178b86f59160 Mon Sep 17 00:00:00 2001 From: SauceyRed Date: Sat, 16 Aug 2025 13:22:21 +0200 Subject: [PATCH 2/3] feat: rename Confirmation modal prop displayName to targetName --- components/Modal/Confirmation.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Modal/Confirmation.vue b/components/Modal/Confirmation.vue index f1a5cae..ceab8b2 100644 --- a/components/Modal/Confirmation.vue +++ b/components/Modal/Confirmation.vue @@ -2,7 +2,7 @@
-

Are you sure you would like to {{ props.actionName.toLowerCase() }} {{ props.displayName }}?

+

Are you sure you would like to {{ props.actionName.toLowerCase() }} {{ props.targetName }}?