멤버 없을 때 하이픈

This commit is contained in:
yoon 2025-04-08 18:44:41 +09:00
parent f37c8ec947
commit 8df2674755

View File

@ -1,5 +1,5 @@
<template> <template>
<ul class="list-unstyled users-list d-flex align-items-center gap-1 flex-wrap"> <ul v-if="displayedUserList && displayedUserList.length > 0" class="list-unstyled users-list d-flex align-items-center gap-1 flex-wrap">
<li <li
v-for="(user, index) in displayedUserList" v-for="(user, index) in displayedUserList"
:key="index" :key="index"
@ -23,12 +23,12 @@
/> />
</li> </li>
</ul> </ul>
<span v-else >-</span>
</template> </template>
<script setup> <script setup>
import { onMounted, ref, nextTick, computed, watch } from 'vue'; import { onMounted, ref, nextTick, computed, watch } from 'vue';
import { useUserStore } from '@s/userList'; import { useUserStore } from '@s/userList';
import { useProjectStore } from '@s/useProjectStore';
import $api from '@api'; import $api from '@api';
import { useToastStore } from "@s/toastStore"; import { useToastStore } from "@s/toastStore";