validate logic for tab labels

This commit is contained in:
Peter Maquiran
2023-09-21 10:06:08 +01:00
parent c674ec0bca
commit 8d0f0e4dd7
3 changed files with 4 additions and 4 deletions
@@ -76,7 +76,7 @@ export class DespachosPrPage implements OnInit {
this.profile = 'mdgpr';
if(this.p.userPermission([this.p.permissionList.Gabinete.md_tasks])) {
if(!this.p.userRole("PR")) {
this.headerName = `Despachos ${ environment.despachoLabel }`
} else {
this.headerName = "Despachos criados por mim"