+
종류: {type}
{user.comment}
+{user.comment}
아무도 없어요.. 😢
+ (checked && !curGroup.members.filter((member) => member.inCluster).length)) && ( +아무도 없어요.. 😢
)} > ); diff --git a/src/components/group/GroupEditBar.tsx b/src/components/group/GroupEditBar.tsx index 8fb3904..4cbb960 100644 --- a/src/components/group/GroupEditBar.tsx +++ b/src/components/group/GroupEditBar.tsx @@ -4,13 +4,7 @@ import { Button } from '@/components/ui/button'; import GroupDeleteModal from '@/components/modals/GroupDeleteModal'; import GroupAddModal from '@/components/modals/GroupAddModal'; -export default function GroupEditBar({ - groups, - curGroup, -}: { - groups: Group[]; - curGroup: Group; -}) { +export default function GroupEditBar({ groups, curGroup }: { groups: Group[]; curGroup: Group }) { const { setGroups } = useGroupsStore(); const { checkedUsers, setCheckedUsers } = useCheckedUsersStore(); return ( @@ -23,8 +17,8 @@ export default function GroupEditBar({ )}- { - curGroup.members.filter( - (member) => member.location || member.inCluster, - ).length - } - / +
+ {curGroup.members.filter((member) => member.location || member.inCluster).length}/ {curGroup.members.length}
diff --git a/src/components/group/Groups.tsx b/src/components/group/Groups.tsx index 9ad74e0..1454bd2 100644 --- a/src/components/group/Groups.tsx +++ b/src/components/group/Groups.tsx @@ -24,14 +24,12 @@ export default function Groups({ groups }: { groups: Group[] }) { value={curGroup.groupId.toString()} className="relative overflow-hidden transition-all duration-500 ease-in-out" > - {curGroup.isInEdit && ( -님을
+
수동 위치 설정은 클러스터 안에 있을 때만 가능해요 😢
diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 8d9b9e9..2315259 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -27,7 +27,7 @@ export default function Home() { return ( <> -