Freunde: Annehmen/Ablehnen-Buttons mit Text-Label (Icon-only war für Nutzer nicht erkennbar) + Fix /apifriends/same-breed Slash-Bug, SW v1162
This commit is contained in:
parent
f5b5bb2289
commit
55b354e865
7 changed files with 19 additions and 17 deletions
|
|
@ -2452,7 +2452,7 @@ window.Page_dog_profile = (() => {
|
|||
const el = document.getElementById('dp-same-breed-chip');
|
||||
if (!el) return;
|
||||
try {
|
||||
const data = await API.get('friends/same-breed');
|
||||
const data = await API.get('/friends/same-breed');
|
||||
if (!data || data.count === 0) return;
|
||||
const hauptRasse = data.rassen[0]?.rasse || '';
|
||||
const label = data.count === 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue