Sidebar: Queue-Position bleibt bei Lagenwechsel erhalten

Position aus _progressState lesen als Fallback wenn extra.queue_position
nicht verfuegbar ist (z.B. bei Lagenwechsel-Restore).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Dieser Commit ist enthalten in:
Claude Dev
2026-04-09 20:38:30 +02:00
Ursprung 762d8dbc1a
Commit c349947f71

Datei anzeigen

@@ -630,7 +630,7 @@ const UI = {
} }
if (isQueued) { if (isQueued) {
const pos = (extra && extra.queue_position) ? extra.queue_position : ''; const pos = (extra && extra.queue_position) ? extra.queue_position : ((this._progressState[incidentId] || {})._queuePos || '');
// Store queue position in state for renderIncidentItem // Store queue position in state for renderIncidentItem
const pState = this._progressState[incidentId]; const pState = this._progressState[incidentId];
if (pState && pos) pState._queuePos = pos; if (pState && pos) pState._queuePos = pos;