Skip to content

Commit

Permalink
Display user's role
Browse files Browse the repository at this point in the history
  • Loading branch information
PoserDungeon2003 committed Nov 16, 2023
1 parent 0a3013b commit f7e1412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/my-app/src/routes/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
<Avatar id="user-drop" src="" class="cursor-pointer" />
<Dropdown triggeredBy="#user-drop">
<DropdownHeader>
<span class="block text-sm">User</span>
<span class="block text-sm">{jwtData.role}</span>
<span class="block truncate text-sm font-medium">{jwtData.email}</span
>
</DropdownHeader>
Expand Down

0 comments on commit f7e1412

Please sign in to comment.