only show "show all posts" if only one user is selected

This commit is contained in:
Henry Jameson 2026-06-11 12:03:57 +03:00
commit 04d1741c80

View file

@ -80,6 +80,7 @@ const ENTRIES = [
{ {
check: 'action:statuses', check: 'action:statuses',
label: 'user_card.admin_menu.show_statuses', label: 'user_card.admin_menu.show_statuses',
conditions: ['count:1'],
}, },
{ {
separator: true, separator: true,
@ -391,6 +392,7 @@ const ModerationTools = {
...this.stateSet, ...this.stateSet,
...this.tagsSet, ...this.tagsSet,
...this.propertySet, ...this.propertySet,
`count:${this.users.length}`,
]) ])
}, },
canDeleteAccount() { canDeleteAccount() {