Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
yhlee002 committed Jul 22, 2024
1 parent 197131d commit 6ca3e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/fragment/HeaderComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ async function logout() {
<!-- profile image -->
<img class="profile_image" v-if="userStore.profileImage"
:src="userStore.profileImage" alt="user profile image"/>
<NoProfileImageComponent v-if="userStore.profileImage" :role="userStore.isAdmin ? 'ROLE_ADMIN' : 'ROLE_USER'"></NoProfileImageComponent>
<NoProfileImageComponent v-if="!userStore.profileImage" :role="userStore.isAdmin ? 'ROLE_ADMIN' : 'ROLE_USER'"></NoProfileImageComponent>
<span class="userbox-text" v-if="userStore.user != null">{{ userStore.user.name }}
<span v-if="userStore.user.role ==='ROLE_ADMIN'" style="color: #c6c6c6; font-size: 0.8rem">(관리자)</span>
</span>
Expand Down

0 comments on commit 6ca3e9c

Please sign in to comment.