]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/menu/menu.component.ts
Remove unnecessary CSS in menu
[github/Chocobozzz/PeerTube.git] / client / src / app / menu / menu.component.ts
index 9b3608b156594311553833561ec49dfe452632a9..371beb4a579620775cf8a152fc162349ceaa2d8a 100644 (file)
@@ -18,7 +18,7 @@ export class MenuComponent implements OnInit {
   userHasAdminAccess = false
   helpVisible = false
 
-  private routesPerRight = {
+  private routesPerRight: { [ role in UserRight ]?: string } = {
     [UserRight.MANAGE_USERS]: '/admin/users',
     [UserRight.MANAGE_SERVER_FOLLOW]: '/admin/friends',
     [UserRight.MANAGE_VIDEO_ABUSES]: '/admin/moderation/video-abuses',
@@ -32,7 +32,7 @@ export class MenuComponent implements OnInit {
     private serverService: ServerService,
     private redirectService: RedirectService,
     private themeService: ThemeService,
-    private hotkeysService: HotkeysService
+    private hotkeysService: HotkeysService
   ) {}
 
   ngOnInit () {