Fix: P/Z-Badges nur im Welten-Einrichten-Modal für Admins (SW by-v922)

- Normale Welt-Views (JETZT/HUND/WELT): keine P/Z-Badges auf Chips
- Config-Modal: P-Badge (Pro) und Z-Badge (Züchter) nur wenn isAdmin=true
- isAdmin-Variable im _openConfigModal()-Scope ergänzt
This commit is contained in:
rene 2026-05-14 10:46:55 +02:00
parent 108191b339
commit 0a28c68953
4 changed files with 8 additions and 6 deletions

View file

@ -406,7 +406,7 @@ async def serve_media(path: str, request: _Request):
raise _HE(404, "Nicht gefunden.")
return _media_response(filepath)
APP_VER = "921" # muss mit APP_VER in app.js übereinstimmen
APP_VER = "922" # muss mit APP_VER in app.js übereinstimmen
@app.get("/.well-known/assetlinks.json")
async def assetlinks():