]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Display username instead of email in menu
authorChocobozzz <me@florianbigard.com>
Mon, 16 Jul 2018 13:20:22 +0000 (15:20 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 16 Jul 2018 13:20:22 +0000 (15:20 +0200)
client/src/app/menu/menu.component.html

index d52261e060dcb3e6476f1823fe5252ee7053746e..c487a6fc1caba11a9b62d1fd98f2c2c344363f63 100644 (file)
@@ -8,7 +8,7 @@
 
         <div class="logged-in-info">
           <a routerLink="/my-account/settings" class="logged-in-username">{{ user.account?.displayName }}</a>
-          <div class="logged-in-email">{{ user.email }}</div>
+          <div class="logged-in-email">{{ user.username }}</div>
         </div>
 
         <div class="logged-in-more" dropdown placement="right" container="body">