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 687aeba commit 16f61ed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/icon/UserImageComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ console.log('props', props);

<template>
<div v-if="profileImage" id="writerProfileImage">
<img v-if="role !== 'ROLE_ADMIN'" :src="profileImage"
:style="{width: width, height: height}"
<img :src="profileImage" :style="{width: width, height: height}"
class="profile_image" alt="프로필 이미지"/>
</div>
<div v-if="!profileImage" id="writerProfileImage">
Expand Down

0 comments on commit 16f61ed

Please sign in to comment.