forked from Ruderverein-Donau-Linz/rowt
fix ci
This commit is contained in:
parent
514561321e
commit
ce73fd8902
@ -71,9 +71,10 @@ function initBoatActions() {
|
||||
const rowers = Number(select.dataset.seats) - 1;
|
||||
choiceObjects['newrower'].config.maxItemCount = rowers;
|
||||
choiceObjects['newrower'].removeActiveItems(rowers);
|
||||
let boatSelect = <HTMLSelectElement>document.querySelector('#boat_id');
|
||||
|
||||
if (select.dataset.id) {
|
||||
choiceObjects['boat_id'].setChoiceByValue(select.dataset.id);
|
||||
}
|
||||
|
||||
(rowers === 0 ? choiceObjects['newrower'].disable() : choiceObjects['newrower'].enable());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user