UI
This commit is contained in:
@ -25,7 +25,7 @@ export class BasicSettingComponent implements OnInit {
|
||||
configList: any = [];
|
||||
isCanSave = false;
|
||||
constructor(public service: SystemService, private acl: ACLService) {
|
||||
this.isCanSave = !!acl.data.abilities?.find(a => a === 'SYSTEM-BASIC_SETTING-save');
|
||||
this.isCanSave = acl.data.full || !!acl.data.abilities?.find(a => a === 'SYSTEM-BASIC_SETTING-save');
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
|
||||
Reference in New Issue
Block a user