fix ci
This commit is contained in:
parent
09af9981df
commit
c07cf41bbf
@ -62,11 +62,11 @@ function selectBoatChange() {
|
|||||||
choiceObjects[shipmasterSelect.id] = shipmasterChoice;
|
choiceObjects[shipmasterSelect.id] = shipmasterChoice;
|
||||||
}
|
}
|
||||||
|
|
||||||
function setMaxAmountRowers(rowers){
|
function setMaxAmountRowers(rowers: number){
|
||||||
let curSelection = choiceObjects['newrower'].getValue(true);
|
let curSelection = choiceObjects['newrower'].getValue(true);
|
||||||
let amount_to_delete = curSelection.length - rowers;
|
let amount_to_delete = (<any>curSelection).length - rowers;
|
||||||
if (amount_to_delete > 0){
|
if (amount_to_delete > 0){
|
||||||
let to_delete = curSelection.slice(-amount_to_delete);
|
let to_delete = (<any>curSelection).slice(-amount_to_delete);
|
||||||
for (let del of to_delete) {
|
for (let del of to_delete) {
|
||||||
choiceObjects['newrower'].removeActiveItemsByValue(del);
|
choiceObjects['newrower'].removeActiveItemsByValue(del);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user