diff --git a/web/app/templates/admin/index.html.j2 b/web/app/templates/admin/index.html.j2 index c6f6a498..9fca5b58 100644 --- a/web/app/templates/admin/index.html.j2 +++ b/web/app/templates/admin/index.html.j2 @@ -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 %}