From f1cfe9991d33168cc42bee7ec261bb29b0eda783 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Morin?= Date: Thu, 22 Feb 2024 16:07:32 -0500 Subject: [PATCH] Fixed single-quote constraint --- src/app/menu.resolver.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/menu.resolver.ts b/src/app/menu.resolver.ts index 5583857936b..7cddc3b4ed9 100644 --- a/src/app/menu.resolver.ts +++ b/src/app/menu.resolver.ts @@ -749,8 +749,8 @@ export class MenuResolver implements Resolve { */ createReportMenuSections() { observableCombineLatest([ - this.configurationDataService.findByPropertyName("contentreport.enable").pipe( - map((res: RemoteData) => res.hasSucceeded && res.payload && res.payload.values[0] === "true") + this.configurationDataService.findByPropertyName('contentreport.enable').pipe( + map((res: RemoteData) => res.hasSucceeded && res.payload && res.payload.values[0] === 'true') ), this.authorizationService.isAuthorized(FeatureID.AdministratorOf) ]).subscribe(([isSiteAdmin]) => {