Fix: Profilfotos — breeder status liefert jetzt id, s.profile.id korrekt (SW by-v903)

This commit is contained in:
rene 2026-05-13 19:13:34 +02:00
parent f7a2a3861e
commit 38e7ad99ae
6 changed files with 9 additions and 9 deletions

View file

@ -159,7 +159,7 @@ window.Page_zuchthunde = (() => {
try {
[_hunde] = await Promise.all([
API.zuchthunde.list(),
API.breeder.status().then(s => { _breederId = s?.id || null; }).catch(() => {}),
API.breeder.status().then(s => { _breederId = s?.profile?.id || null; }).catch(() => {}),
]);
_renderList();
} catch (err) {