don't close user popover on moderation confirmation
This commit is contained in:
parent
4f2aa72abd
commit
23b65d25ca
3 changed files with 3 additions and 3 deletions
1
changelog.d/moderation.fix
Normal file
1
changelog.d/moderation.fix
Normal file
|
|
@ -0,0 +1 @@
|
|||
Fixed moderation actions requiring confirmation closing user popover
|
||||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
>
|
||||
<button
|
||||
class="main-button"
|
||||
@click="() => maybeShowConfirm(close, entry)"
|
||||
@click="() => maybeShowConfirm(entry)"
|
||||
>
|
||||
<span
|
||||
v-if="entry.checkbox"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue