mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
improve
This commit is contained in:
@@ -25,7 +25,7 @@ export class PermissionService {
|
||||
}
|
||||
|
||||
|
||||
for(let permission of ([...(this.SessionStore.user.UserPermissions || [] ), 530] || [])) {
|
||||
for(let permission of (this.SessionStore.user.UserPermissions || [])) {
|
||||
if (args.includes(permission)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user