don't close user popover on moderation confirmation

This commit is contained in:
Henry Jameson 2026-08-11 14:30:44 +03:00
commit 23b65d25ca
3 changed files with 3 additions and 3 deletions

View file

@ -0,0 +1 @@
Fixed moderation actions requiring confirmation closing user popover

View file

@ -516,8 +516,7 @@ const ModerationTools = {
setOpen(value) {
this.open = value
},
maybeShowConfirm(close, { group, name, action, value }) {
close()
maybeShowConfirm({ group, name, action, value }) {
this.confirmDialogName = name
this.confirmDialogGroup = group
this.confirmDialogAction = () => action()

View file

@ -26,7 +26,7 @@
>
<button
class="main-button"
@click="() => maybeShowConfirm(close, entry)"
@click="() => maybeShowConfirm(entry)"
>
<span
v-if="entry.checkbox"