Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
@ -18,8 +18,8 @@ export class SupplyManagementIndexComponent implements OnInit {
|
||||
|
||||
constructor(private http: _HttpClient, private modal: ModalHelper, private acl: ACLService) {
|
||||
const acls = acl.data.abilities || [];
|
||||
this.isShowVehicle = !!acls.find(acl => acl === 'SUPPLY-INDEX-vehicleSearch');
|
||||
this.isShowBulk = !!acls.find(acl => acl === 'SUPPLY-INDEX-bulkSearch');
|
||||
this.isShowVehicle = acl.data.full || !!acls.find(acl => acl === 'SUPPLY-INDEX-vehicleSearch');
|
||||
this.isShowBulk = acl.data.full || !!acls.find(acl => acl === 'SUPPLY-INDEX-bulkSearch');
|
||||
}
|
||||
|
||||
ngOnInit(): void {}
|
||||
|
||||
Reference in New Issue
Block a user