Fix admin user view

This commit is contained in:
Stephan Porada 2020-09-11 16:36:35 +02:00
parent a87792b2cc
commit 3efe32bcf7

View File

@ -100,11 +100,12 @@
</div> </div>
<script> <script type="module">
let corpusList = new RessourceList("corpora", nopaque.foreignCorporaSubscribers, "Corpus"); import {RessourceList} from '../../static/js/nopaque.lists.js';
let jobList = new RessourceList("jobs", nopaque.foreignJobsSubscribers, "Job"); let corpusList = new RessourceList("corpora", nopaque.foreignCorporaSubscribers, "Corpus");
document.addEventListener("DOMContentLoaded", () => { let jobList = new RessourceList("jobs", nopaque.foreignJobsSubscribers, "Job");
nopaque.socket.emit("foreign_user_data_stream_init", {{ user.id }}); document.addEventListener("DOMContentLoaded", () => {
nopaque.socket.emit("foreign_user_data_stream_init", {{ user.id }});
}); });
</script> </script>
{% endblock %} {% endblock %}