]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/core/menu/menu-admin.component.ts
Add follow tabs
[github/Chocobozzz/PeerTube.git] / client / src / app / core / menu / menu-admin.component.ts
index 92aab9a059b30eaab8e8149692fcd9f55893c2ae..88a654d1fd000ff533a6eaa7f7c26d3cea085050 100644 (file)
@@ -15,8 +15,8 @@ export class MenuAdminComponent {
     return this.auth.getUser().hasRight(UserRight.MANAGE_USERS)
   }
 
-  hasFriendsRight () {
-    return this.auth.getUser().hasRight(UserRight.MANAGE_PEERTUBE_FOLLOW)
+  hasApplicationFollowRight () {
+    return this.auth.getUser().hasRight(UserRight.MANAGE_APPLICATION_FOLLOW)
   }
 
   hasVideoAbusesRight () {