Avatar Update

This commit is contained in:
Inga Kirschnick
2022-12-19 12:46:18 +01:00
parent 61a6ddd4be
commit d9699b9c6d
8 changed files with 131 additions and 13 deletions

View File

@ -22,11 +22,7 @@
{% block scripts %}
{{ super() }}
<script>
for (let user of {{ json_users|tojson }}) {
if (user.id in app.data.users) {continue;}
app.data.users[user.id] = user;
}
let userList = new UserList(document.querySelector('.user-list'));
userList.init(app.data.users);
userList._init({{ json_users|tojson }});
</script>
{% endblock scripts %}