mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Fixed single-quote constraint
This commit is contained in:
@@ -749,8 +749,8 @@ export class MenuResolver implements Resolve<boolean> {
|
||||
*/
|
||||
createReportMenuSections() {
|
||||
observableCombineLatest([
|
||||
this.configurationDataService.findByPropertyName("contentreport.enable").pipe(
|
||||
map((res: RemoteData<ConfigurationProperty>) => res.hasSucceeded && res.payload && res.payload.values[0] === "true")
|
||||
this.configurationDataService.findByPropertyName('contentreport.enable').pipe(
|
||||
map((res: RemoteData<ConfigurationProperty>) => res.hasSucceeded && res.payload && res.payload.values[0] === 'true')
|
||||
),
|
||||
this.authorizationService.isAuthorized(FeatureID.AdministratorOf)
|
||||
]).subscribe(([isSiteAdmin]) => {
|
||||
|
Reference in New Issue
Block a user