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 9c2d6a2 commit 197131d
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 :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 197131d

Please sign in to comment.