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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user