diff options
Diffstat (limited to 'client/src/app/core/menu/menu.component.ts')
-rw-r--r-- | client/src/app/core/menu/menu.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/core/menu/menu.component.ts b/client/src/app/core/menu/menu.component.ts index 872d29819..d2bd71534 100644 --- a/client/src/app/core/menu/menu.component.ts +++ b/client/src/app/core/menu/menu.component.ts | |||
@@ -16,7 +16,7 @@ export class MenuComponent implements OnInit { | |||
16 | 16 | ||
17 | private routesPerRight = { | 17 | private routesPerRight = { |
18 | [UserRight.MANAGE_USERS]: '/admin/users', | 18 | [UserRight.MANAGE_USERS]: '/admin/users', |
19 | [UserRight.MANAGE_APPLICATION_FOLLOW]: '/admin/friends', | 19 | [UserRight.MANAGE_SERVER_FOLLOW]: '/admin/friends', |
20 | [UserRight.MANAGE_VIDEO_ABUSES]: '/admin/video-abuses', | 20 | [UserRight.MANAGE_VIDEO_ABUSES]: '/admin/video-abuses', |
21 | [UserRight.MANAGE_VIDEO_BLACKLIST]: '/admin/video-blacklist' | 21 | [UserRight.MANAGE_VIDEO_BLACKLIST]: '/admin/video-blacklist' |
22 | } | 22 | } |
@@ -58,7 +58,7 @@ export class MenuComponent implements OnInit { | |||
58 | 58 | ||
59 | const adminRights = [ | 59 | const adminRights = [ |
60 | UserRight.MANAGE_USERS, | 60 | UserRight.MANAGE_USERS, |
61 | UserRight.MANAGE_APPLICATION_FOLLOW, | 61 | UserRight.MANAGE_SERVER_FOLLOW, |
62 | UserRight.MANAGE_VIDEO_ABUSES, | 62 | UserRight.MANAGE_VIDEO_ABUSES, |
63 | UserRight.MANAGE_VIDEO_BLACKLIST | 63 | UserRight.MANAGE_VIDEO_BLACKLIST |
64 | ] | 64 | ] |