feat: show number of users and add warning if 2 or less

This commit is contained in:
2025-11-04 16:33:29 +01:00
parent 66461f0965
commit b581655d6c
2 changed files with 22 additions and 11 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ const app = createApp({
this.table.splice(0, this.table.length);
const duration = parseInt(this.config.duration, 10);
const prng = utils.splitmix32(this.config.seed);
if (this.candidates.length < 2) {
if (this.candidates.length <= 2) {
return;
}
const indexScores = Object.fromEntries(