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;