diff --git a/src/components/vacation/ProfileList.vue b/src/components/vacation/ProfileList.vue index 2c79ea9..fcab2a4 100644 --- a/src/components/vacation/ProfileList.vue +++ b/src/components/vacation/ProfileList.vue @@ -74,16 +74,13 @@ nextTick(() => { const sortedUserList = computed(() => { if (!employeeId.value) return []; - // 관리자가 아닌 사용자만 필터링 - const nonAdminUsers = userList.value.filter(user => user.MEMBERROL !== "ROLE_ADMIN"); - - const myProfile = nonAdminUsers.find(user => user.MEMBERSEQ === employeeId.value); - const otherUsers = nonAdminUsers.filter(user => user.MEMBERSEQ !== employeeId.value); + // 모든 사용자 포함 (관리자 필터링 제거) + const myProfile = userList.value.find(user => user.MEMBERSEQ === employeeId.value); + const otherUsers = userList.value.filter(user => user.MEMBERSEQ !== employeeId.value); return myProfile ? [myProfile, ...otherUsers] : otherUsers; }); - const getUserProfileImage = (profilePath) => profilePath && profilePath.trim() ? `${baseUrl}upload/img/profile/${profilePath}` : defaultProfile;