Rename PublicUserList to UserList

This commit is contained in:
Patrick Jentsch 2023-01-11 13:47:09 +01:00
parent ce03201133
commit d462c1e4d6
3 changed files with 5 additions and 5 deletions

View File

@ -10,9 +10,9 @@ class ResourceList {
JobList.autoInit(); JobList.autoInit();
JobInputList.autoInit(); JobInputList.autoInit();
JobResultList.autoInit(); JobResultList.autoInit();
PublicUserList.autoInit();
SpaCyNLPPipelineModelList.autoInit(); SpaCyNLPPipelineModelList.autoInit();
TesseractOCRPipelineModelList.autoInit(); TesseractOCRPipelineModelList.autoInit();
UserList.autoInit();
AdminUserList.autoInit(); AdminUserList.autoInit();
} }

View File

@ -1,7 +1,7 @@
class PublicUserList extends ResourceList { class UserList extends ResourceList {
static autoInit() { static autoInit() {
for (let publicUserListElement of document.querySelectorAll('.public-user-list:not(.no-autoinit)')) { for (let publicUserListElement of document.querySelectorAll('.user-list:not(.no-autoinit)')) {
new PublicUserList(publicUserListElement); new UserList(publicUserListElement);
} }
} }

View File

@ -24,9 +24,9 @@
'js/ResourceLists/JobList.js', 'js/ResourceLists/JobList.js',
'js/ResourceLists/JobInputList.js', 'js/ResourceLists/JobInputList.js',
'js/ResourceLists/JobResultList.js', 'js/ResourceLists/JobResultList.js',
'js/ResourceLists/PublicUserList.js',
'js/ResourceLists/SpacyNLPPipelineModelList.js', 'js/ResourceLists/SpacyNLPPipelineModelList.js',
'js/ResourceLists/TesseractOCRPipelineModelList.js', 'js/ResourceLists/TesseractOCRPipelineModelList.js',
'js/ResourceLists/UserList.js',
'js/ResourceLists/AdminUserList.js', 'js/ResourceLists/AdminUserList.js',
'js/XMLtoObject.js' 'js/XMLtoObject.js'
%} %}