From 4eb466f6267b6987e1ce4daafaa295c60406fe70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adina=20=C8=9Aeudan?= Date: Sat, 13 Mar 2021 23:15:14 +0200 Subject: [PATCH] Hide audit outside of dev mode --- .../admin-page-header/admin-breadcrumbs.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/red-ui/src/app/components/admin-page-header/admin-breadcrumbs.component.html b/apps/red-ui/src/app/components/admin-page-header/admin-breadcrumbs.component.html index b2280db94..65f59c17a 100644 --- a/apps/red-ui/src/app/components/admin-page-header/admin-breadcrumbs.component.html +++ b/apps/red-ui/src/app/components/admin-page-header/admin-breadcrumbs.component.html @@ -32,7 +32,7 @@ [routerLinkActiveOptions]="{ exact: true }" routerLinkActive="active" translate="audit" - *ngIf="root && permissionService.isAdmin()" + *ngIf="root && permissionService.isAdmin() && userPreferenceService.areDevFeaturesEnabled" >