From 2c0f69842e49fd33dedd32cf9b46d9aaaeda89e3 Mon Sep 17 00:00:00 2001 From: Timo Date: Fri, 8 Jan 2021 14:10:49 +0200 Subject: [PATCH] Minor Fixes --- apps/red-ui/src/app/app.module.ts | 3 +- .../rules-screen/rules-screen.component.html | 28 ------------------- .../watermark-screen.component.html | 3 +- .../watermark-screen.component.scss | 4 +-- .../watermark-screen.component.ts | 28 ++++++++----------- apps/red-ui/src/assets/i18n/en.json | 1 + .../src/lib/model/watermarkModel.ts | 7 +++-- 7 files changed, 22 insertions(+), 52 deletions(-) diff --git a/apps/red-ui/src/app/app.module.ts b/apps/red-ui/src/app/app.module.ts index 1b21c2483..b07e4ce16 100644 --- a/apps/red-ui/src/app/app.module.ts +++ b/apps/red-ui/src/app/app.module.ts @@ -223,8 +223,7 @@ const routes = [ component: WatermarkScreenComponent, canActivate: [CompositeRouteGuard], data: { - routeGuards: [AuthGuard, RedRoleGuard, AppStateGuard], - requiredRoles: ['RED_ADMIN'] + routeGuards: [AuthGuard, RedRoleGuard, AppStateGuard] } }, { path: '', redirectTo: 'dictionaries', pathMatch: 'full' } diff --git a/apps/red-ui/src/app/screens/admin/rules-screen/rules-screen.component.html b/apps/red-ui/src/app/screens/admin/rules-screen/rules-screen.component.html index 3e1eccc64..0edd921ff 100644 --- a/apps/red-ui/src/app/screens/admin/rules-screen/rules-screen.component.html +++ b/apps/red-ui/src/app/screens/admin/rules-screen/rules-screen.component.html @@ -9,34 +9,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/apps/red-ui/src/app/screens/admin/watermark-screen/watermark-screen.component.html b/apps/red-ui/src/app/screens/admin/watermark-screen/watermark-screen.component.html index 532e46ffd..96e8de9d5 100644 --- a/apps/red-ui/src/app/screens/admin/watermark-screen/watermark-screen.component.html +++ b/apps/red-ui/src/app/screens/admin/watermark-screen/watermark-screen.component.html @@ -40,6 +40,7 @@