Teacher: Triage 'Nachfassen'->'Nicht aktiv'; Weltkueche live-state phase-Bug gefixt (zeigte immer 'forschen', jetzt 'Gericht X · Zutat Y/Z')

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-08-18 12:21:24 +02:00
parent ec102b7c36
commit f6df2eb79f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -779,7 +779,7 @@ window.GGS_LIVE_STATE = function() {
const dishPct = ingTot > 0 ? Math.round(ingDone/ingTot*100) : 0;
const overallPct = totalDish > 0 ? Math.round(completedDish/totalDish*100) : 0;
return {
phase: dish ? (current && current.solved ? 'forschen' : ('Zutat ' + (ingDone+1) + '/' + ingTot)) : ('Auswahl · ' + completedDish + '/' + totalDish),
phase: dish ? ('Gericht ' + (completedDish + 1) + ' · Zutat ' + Math.min(ingDone + 1, ingTot) + '/' + ingTot) : ('Gericht wählen · ' + completedDish + '/' + totalDish + ' fertig'),
progressPct: dish ? dishPct : overallPct,
orderIndex: ingDone, // für generische Vergleichs-Anzeige (Zutat-Index)
totalOrders: ingTot,