Skip to content

Commit

Permalink
fix: fixes blank name for proxy mode
Browse files Browse the repository at this point in the history
  • Loading branch information
amir20 committed Oct 31, 2023
1 parent 5a06813 commit c74384d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<button @click.prevent="logout()" class="link-primary">{{ $t("button.logout") }}</button>
</div>
<div>
{{ config.user.name ?? config.user.email }}
{{ config.user.name ? config.user.name : config.user.email }}
</div>
<img class="h-10 w-10 rounded-full p-1 ring-2 ring-base-content/50" :src="config.user.avatar" />
</div>
Expand Down

0 comments on commit c74384d

Please sign in to comment.