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