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) {
|
constructor(private http: _HttpClient, private modal: ModalHelper, private acl: ACLService) {
|
||||||
const acls = acl.data.abilities || [];
|
const acls = acl.data.abilities || [];
|
||||||
this.isShowVehicle = !!acls.find(acl => acl === 'SUPPLY-INDEX-vehicleSearch');
|
this.isShowVehicle = acl.data.full || !!acls.find(acl => acl === 'SUPPLY-INDEX-vehicleSearch');
|
||||||
this.isShowBulk = !!acls.find(acl => acl === 'SUPPLY-INDEX-bulkSearch');
|
this.isShowBulk = acl.data.full || !!acls.find(acl => acl === 'SUPPLY-INDEX-bulkSearch');
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(): void {}
|
ngOnInit(): void {}
|
||||||
|
|||||||
Reference in New Issue
Block a user