Skip to content

Commit

Permalink
Add github username + profile link to UI
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandenburgh committed Apr 3, 2023
1 parent 83d3a10 commit 78e8c04
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions web/src/components/AppBar/UserMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@
id="user-menu"
dense
>
<v-list-item>
<v-list-item-content>
<span v-if="dandiRest.user">
You are logged in as <a
:href="`https://github.com/${dandiRest.user.username}`"
target="_blank"
rel="noopener"
v-text="dandiRest.user.username"
/>.
</span>
</v-list-item-content>
</v-list-item>
<ApiKeyItem v-if="dandiRest.user?.approved" />
<v-list-item @click="logout">
<v-list-item-content>
Expand Down

0 comments on commit 78e8c04

Please sign in to comment.