]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/menu/menu.component.html
Only use account name in routes
[github/Chocobozzz/PeerTube.git] / client / src / app / menu / menu.component.html
index 1642f7dce563a97e6bb9e0739fbd9111e5ee12e1..1a95477b7672ca30cf5ce900965c02c2d7f8de37 100644 (file)
@@ -14,8 +14,8 @@
 
       <ul *dropdownMenu class="dropdown-menu">
         <li>
-          <a i18n [routerLink]="[ '/accounts', user.account.id ]" class="dropdown-item" title="My profile">
-           My profile
+          <a i18n [routerLink]="[ '/accounts', user.account?.nameWithHost ]" class="dropdown-item" title="My public profile">
+           My public profile
           </a>
 
           <a routerLink="/my-account/settings" class="dropdown-item" title="My settings">