mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
fix update
This commit is contained in:
@@ -51,7 +51,7 @@ export class PermissionService {
|
||||
|
||||
let count = 0
|
||||
|
||||
for(let permission of this.SessionStore.user.UserPermissions ) {
|
||||
for(let permission of this.SessionStore.user?.UserPermissions || [] ) {
|
||||
if (args.includes(permission)) {
|
||||
count++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user