fix ci
This commit is contained in:
parent
93a6b81803
commit
c48fd1d87d
@ -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…
Reference in New Issue
Block a user