diff --git a/templates/webadmin/eventrules.html b/templates/webadmin/eventrules.html
index f90e1ec0..10df0b3e 100644
--- a/templates/webadmin/eventrules.html
+++ b/templates/webadmin/eventrules.html
@@ -252,20 +252,20 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
{
data: "actions",
defaultContent: [],
- searchable: false,
- orderable: false,
render: function(data, type, row) {
- if (type === 'display') {
- if (data){
- let actions = [];
- for (i = 0; i < data.length; i++){
- actions.push(data[i].name);
- }
- return escapeHTML(actions.join(', '));
- }
- return ""
+ if (!data){
+ return "";
}
- return "";
+ let actions = [];
+ let result = "";
+ for (i = 0; i < data.length; i++){
+ actions.push(data[i].name);
+ }
+ result = actions.join(", ");
+ if (type === 'display') {
+ return escapeHTML(result);
+ }
+ return result;
}
},
{
diff --git a/templates/webadmin/users.html b/templates/webadmin/users.html
index 78df17f7..25cbf020 100644
--- a/templates/webadmin/users.html
+++ b/templates/webadmin/users.html
@@ -451,7 +451,6 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
{
data: "groups",
visible: false,
- orderable: false,
defaultContent: [],
render: function(data, type, row) {
if (!data){