update deps, fix ci #1134

Merged
philipp merged 3 commits from no-ergo into main 2025-10-01 22:41:43 +02:00
2 changed files with 17 additions and 15 deletions

View File

@@ -425,8 +425,10 @@ 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 () { callbackOnInit: function (this: Choices) {
this._currentState.items.forEach(function (obj) { const items = this.getValue(); // Get all selected items
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.40.1", "@playwright/test": "^1.55.1",
"@types/d3": "^7.4.1", "@types/d3": "^7.4.3",
"@types/node": "^20.11.4", "@types/node": "^24.6.1",
"autoprefixer": "^10.4.14", "autoprefixer": "^10.4.21",
"postcss": "^8.4.21", "postcss": "^8.5.6",
"sass": "^1.60.0", "sass": "^1.93.2",
"tailwindcss": "^3.3.1", "tailwindcss": "^3.4.18",
"typescript": "^4.9.5", "typescript": "^5.9.3",
"vite": "^4.2.0", "vite": "^7.1.7",
"vite-plugin-static-copy": "^0.13.1" "vite-plugin-static-copy": "^3.1.3"
}, },
"dependencies": { "dependencies": {
"choices.js": "^10.2.0", "choices.js": "^11.1.0",
"d3": "^7.8.5", "d3": "^7.9.0",
"terser": "^5.21.0" "terser": "^5.44.0"
} }
} }