From f07a67b43cf46cb34bf89b3f4b28aed61e398bcb Mon Sep 17 00:00:00 2001 From: Tom Niget Date: Sat, 8 Jul 2023 01:26:38 +0200 Subject: [PATCH] Show "N users" starting at 2 users Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> --- data/interfaces/default/graphs.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/interfaces/default/graphs.html b/data/interfaces/default/graphs.html index d48ce106..8435df20 100644 --- a/data/interfaces/default/graphs.html +++ b/data/interfaces/default/graphs.html @@ -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) {