Merge pull request 'Restore content from fix-ci-finally' (#1137) from restore-fix-ci into main
Some checks failed
CI/CD Pipeline / test (push) Failing after 21m49s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped

Reviewed-on: #1137
This commit is contained in:
2025-10-02 00:35:21 +02:00
2 changed files with 15 additions and 17 deletions

View File

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

View File

@@ -9,20 +9,20 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"devDependencies": { "devDependencies": {
"@playwright/test": "^1.55.1", "@playwright/test": "^1.40.1",
"@types/d3": "^7.4.3", "@types/d3": "^7.4.1",
"@types/node": "^24.6.1", "@types/node": "^20.11.4",
"autoprefixer": "^10.4.21", "autoprefixer": "^10.4.14",
"postcss": "^8.5.6", "postcss": "^8.4.21",
"sass": "^1.93.2", "sass": "^1.60.0",
"tailwindcss": "^3.4.18", "tailwindcss": "^3.3.1",
"typescript": "^5.9.3", "typescript": "^4.9.5",
"vite": "^7.1.7", "vite": "^4.2.0",
"vite-plugin-static-copy": "^3.1.3" "vite-plugin-static-copy": "^0.13.1"
}, },
"dependencies": { "dependencies": {
"choices.js": "^11.1.0", "choices.js": "^10.2.0",
"d3": "^7.9.0", "d3": "^7.8.5",
"terser": "^5.44.0" "terser": "^5.21.0"
} }
} }