mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-16 19:59:09 +00:00
FIX: changed get roles to search roles
This commit is contained in:
@@ -89,11 +89,11 @@ export class PermissionsService
|
||||
permissionUsage ? usage === permissionUsage : true,
|
||||
)
|
||||
.map(({ seqid, name }) => ({ id: seqid, name: name[language] }));
|
||||
|
||||
groups.push({
|
||||
title,
|
||||
permissions,
|
||||
});
|
||||
if (permissions?.length)
|
||||
groups.push({
|
||||
title,
|
||||
permissions,
|
||||
});
|
||||
}
|
||||
return groups;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user