mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-24 06:55:26 -07:00
Show "N users" starting at 2 users
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
This commit is contained in:
parent
9741454f12
commit
f07a67b43c
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@
|
||||||
countSelectedText: function(sel, total) {
|
countSelectedText: function(sel, total) {
|
||||||
if (sel === 0 || sel === total) {
|
if (sel === 0 || sel === total) {
|
||||||
return 'All users';
|
return 'All users';
|
||||||
} else if (sel > 3) {
|
} else if (sel > 1) {
|
||||||
return sel + ' users';
|
return sel + ' users';
|
||||||
} else {
|
} else {
|
||||||
return select.val().map(function(id) {
|
return select.val().map(function(id) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue