mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-15 12:10:21 +00:00
[AB-xxx] fixing passing userId parameter to leaderboard logic
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
name="description"
|
name="description"
|
||||||
content="Leaderboard for experience"
|
content="Leaderboard for experience"
|
||||||
/>
|
/>
|
||||||
<script>window.serverId={{ serverId }}n; window.userId = {{ userId }}</script>
|
<script>window.serverId={{ serverId }}n; {% if (userId is defined) and userId %} window.userId = {{ userId }}n{% else %}window.userId = 0n{% endif %}</script>
|
||||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
||||||
<title>Experience leaderboard</title>
|
<title>Experience leaderboard</title>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Reference in New Issue
Block a user