Skip to content

Commit

Permalink
Fixed single-quote constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-François Morin committed Feb 22, 2024
1 parent 64e3149 commit f1cfe99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/menu.resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]) => {
Expand Down

0 comments on commit f1cfe99

Please sign in to comment.