Show "N users" starting at 2 users

Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
This commit is contained in:
Tom Niget 2023-07-08 01:26:38 +02:00 committed by GitHub
commit f07a67b43c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -387,7 +387,7 @@
countSelectedText: function(sel, total) {
if (sel === 0 || sel === total) {
return 'All users';
} else if (sel > 3) {
} else if (sel > 1) {
return sel + ' users';
} else {
return select.val().map(function(id) {