Restore content from fix-ci-finally
Some checks failed
CI/CD Pipeline / test (push) Has been cancelled
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled

This commit is contained in:
2025-10-02 00:34:12 +02:00
parent 49a638d595
commit b12ea81bbf
2 changed files with 15 additions and 17 deletions

View File

@@ -425,10 +425,8 @@ function initNewChoice(select: HTMLInputElement) {
maxItemText: (maxItemCount) => {
return `Nur ${maxItemCount} Ruderer können hinzugefügt werden`;
},
callbackOnInit: function (this: Choices) {
const items = this.getValue(); // Get all selected items
const itemsArray = Array.isArray(items) ? items : [items];
itemsArray.forEach((obj: any) => {
callbackOnInit: function () {
this._currentState.items.forEach(function (obj) {
if (boat_in_ottensheim && obj.customProperties) {
if (obj.customProperties.is_racing) {
const coxSelect = <HTMLSelectElement>(