mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-12 09:00:40 +00:00
Avatar Update
This commit is contained in:
@ -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 %}
|
||||
|
Reference in New Issue
Block a user