diff --git a/frontend/main.ts b/frontend/main.ts index 7830dbe..a933ef2 100644 --- a/frontend/main.ts +++ b/frontend/main.ts @@ -40,6 +40,7 @@ function selectBoatChange() { const rowers = Number(originalOption.dataset.amount_seats) - 1; choiceObjects['newrower'].config.maxItemCount = rowers; + choiceObjects['newrower'].removeActiveItems(rowers); (rowers === 0 ? choiceObjects['newrower'].disable() : choiceObjects['newrower'].enable()); return opt;