Skip to content

Commit c3070ec

Browse files
authored
Merge pull request #187 from CSE-Shaco/develop
fix(member-manager): 정렬 안정화
2 parents 9b6a203 + 9ae8503 commit c3070ec

File tree

1 file changed

+0
-63
lines changed

1 file changed

+0
-63
lines changed

src/app/admin/member-manager/page.jsx

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -256,69 +256,6 @@ export default function AdminUsersPage() {
256256
<AdminTableTopContent searchValue={searchValue} setSearchValue={setSearchValue} onSearch={onSearch}/>
257257
</div>
258258

259-
{/* 서버와 맞춘 필터(옵션): role/team */}
260-
<div className="flex flex-wrap gap-2 mb-4">
261-
<Select
262-
aria-label="역할 필터"
263-
size="sm"
264-
className="min-w-[160px]"
265-
selectedKeys={new Set([roleFilter])}
266-
onSelectionChange={(keys) => {
267-
const v = String(Array.from(keys)[0] ?? '');
268-
setPage(1);
269-
setRoleFilter(v === '' ? '' : v);
270-
}}
271-
classNames={{
272-
trigger: 'bg-zinc-900 text-white border border-zinc-700 data-[hover=true]:bg-zinc-800',
273-
value: 'text-white',
274-
popoverContent: 'bg-zinc-900 border border-zinc-700',
275-
listbox: 'text-white',
276-
selectorIcon: 'text-zinc-400',
277-
}}
278-
itemClasses={{
279-
base: 'rounded-md data-[hover=true]:bg-zinc-800 data-[focus=true]:bg-zinc-800',
280-
title: 'text-white',
281-
}}
282-
>
283-
<SelectItem key="" value="">
284-
(전체 역할)
285-
</SelectItem>
286-
{ROLE_OPTIONS.map((r) => (<SelectItem key={r} value={r}>
287-
{r}
288-
</SelectItem>))}
289-
</Select>
290-
291-
<Select
292-
aria-label="팀 필터"
293-
size="sm"
294-
className="min-w-[160px]"
295-
selectedKeys={new Set([teamFilter])}
296-
onSelectionChange={(keys) => {
297-
const v = String(Array.from(keys)[0] ?? '');
298-
setPage(1);
299-
setTeamFilter(v === '' ? '' : v);
300-
}}
301-
classNames={{
302-
trigger: 'bg-zinc-900 text-white border border-zinc-700 data-[hover=true]:bg-zinc-800',
303-
value: 'text-white',
304-
popoverContent: 'bg-zinc-900 border border-zinc-700',
305-
listbox: 'text-white',
306-
selectorIcon: 'text-zinc-400',
307-
}}
308-
itemClasses={{
309-
base: 'rounded-md data-[hover=true]:bg-zinc-800 data-[focus=true]:bg-zinc-800',
310-
title: 'text-white',
311-
}}
312-
>
313-
<SelectItem key="" value="">
314-
(전체 팀)
315-
</SelectItem>
316-
{TEAM_ENUM_VALUES.map((t) => (<SelectItem key={t} value={t}>
317-
{TEAM_LABEL[t]}
318-
</SelectItem>))}
319-
</Select>
320-
</div>
321-
322259
<Table
323260
aria-label="Users table"
324261
className="dark"

0 commit comments

Comments
 (0)