update page addevents

This commit is contained in:
2023-11-10 23:50:41 +01:00
parent 83321404ab
commit 5d70b58fa7
2 changed files with 10 additions and 32 deletions

View File

@@ -216,11 +216,9 @@ document.getElementById("searchUser").addEventListener("keydown", function(ev){
}
});
listInput = ["Status", "Pages" ]
if (pathURL=="users"){
listInput = ["Status", "Roles", "Pages" ]
}
if (pathURL=="events"){
listInput = ["Status", "Pages" ]
listInput.append("Roles")
}
for (var i=0; i<listInput.length; i++){