diff --git a/src/layouts/TheTop.vue b/src/layouts/TheTop.vue index c925f38..30e4459 100644 --- a/src/layouts/TheTop.vue +++ b/src/layouts/TheTop.vue @@ -167,7 +167,8 @@ v-if="user" :src="`${baseUrl}upload/img/profile/${user.profile}`" alt="Profile Image" - class="w-px-40 h-px-40 rounded-circle" + class="w-px-40 h-px-40 rounded-circle border border-3" + :style="`border-color: ${user.usercolor} !important;`" @error="$event.target.src = '/img/icons/icon.png'" /> @@ -250,7 +251,6 @@ import { useRouter } from 'vue-router'; import { useThemeStore } from '@s/darkmode'; import { computed, onMounted, ref, watch } from 'vue'; - import $api from '@api'; const baseUrl = import.meta.env.VITE_SERVER; @@ -312,7 +312,6 @@ await userStore.userInfo(); user.value = userStore.user; - await projectStore.loadAllProjectLists(); // 사용자가 참여하고 있는 프로젝트 목록