From 5e5a95b06144bc417dfe355e78b4077698cfe9bc Mon Sep 17 00:00:00 2001 From: klemek Date: Tue, 4 Nov 2025 23:53:10 +0100 Subject: [PATCH] fix: slot count invalid --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index d31c55d..b2c7344 100644 --- a/main.js +++ b/main.js @@ -263,7 +263,7 @@ const app = createApp({ ); }, slotTooBig() { - const slotCount = this.totalDuration / this.config.duration; + const slotCount = Math.ceil(this.totalDuration / this.config.duration); if (this.config.endWithAll) { return slotCount - 1 < this.candidates.length;