Fix admin page

This commit is contained in:
Stephan Porada 2020-09-11 15:52:49 +02:00
parent 0d2720700e
commit 0b4e151bef

View File

@ -32,10 +32,11 @@
</div>
</div>
<script>
let userList = new RessourceList('users', null, "User", RessourceList.options.extended);
document.addEventListener("DOMContentLoaded", () => {
userList._add({{ users|tojson|safe }});
});
<script type="module">
import {RessourceList} from '../../static/js/nopaque.lists.js';
let userList = new RessourceList('users', null, "User", RessourceList.options.extended);
document.addEventListener("DOMContentLoaded", () => {
userList._add({{ users|tojson|safe }});
});
</script>
{% endblock %}