Fix: Profilfotos — breeder status liefert jetzt id, s.profile.id korrekt (SW by-v903)
This commit is contained in:
parent
f7a2a3861e
commit
38e7ad99ae
6 changed files with 9 additions and 9 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue