mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
validate logic for tab labels
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user