diff --git a/index.html b/index.html index 661d0b7..03d327a 100644 --- a/index.html +++ b/index.html @@ -2686,8 +2686,12 @@ function getDisplayData(presenter) { const sub = state.substitutes[presenter.id]; let resolvedSub = null; if (sub && sub.name) { - // If substitute has no photo, try to find them as a chapter member + // Foto-Auflösung Vertretung: explizit → manueller Upload (extras) → Server-Sync (extras) → Mitglieder-Match let photoUrl = sub.photoUrl || ''; + if (!photoUrl) { + const subEx = loadExtras()[extrasKey(sub.name)] || {}; + photoUrl = subEx.photoB64 || subEx.offlinePhotoB64 || ''; + } if (!photoUrl) { const match = state.members.find(m => m.name.toLowerCase().trim() === sub.name.toLowerCase().trim()