master
Boris Voropaev 2023-12-19 17:24:01 +03:00
parent 2128b88289
commit d91923f76e
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ export class AdministrationPageComponent {
}
showTab(tab){
return tab.access.filter(role=>this.privileges[role]).length
return this.privileges&&tab.access.filter(role=>this.privileges[role]).length
}
get privileges(){