Skip to content

Commit b2eff5c

Browse files
change order to put requests at the top
1 parent f3b4089 commit b2eff5c

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

packages/web/src/app/(app)/settings/members/membersTable.tsx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ export type TableRowData = MemberRow | InviteRow | RequestRow;
7777
export type MemberFilter = "all" | "owners" | "members" | Section;
7878

7979
const SECTIONS: { id: Section; label: string; description: string }[] = [
80+
{
81+
id: "requests",
82+
label: "Requests",
83+
description: "People who requested access to the organization.",
84+
},
8085
{
8186
id: "active",
8287
label: "Active",
@@ -97,11 +102,6 @@ const SECTIONS: { id: Section; label: string; description: string }[] = [
97102
label: "Invited",
98103
description: "People with pending invitations to the organization.",
99104
},
100-
{
101-
id: "requests",
102-
label: "Requests",
103-
description: "People who requested access to the organization.",
104-
},
105105
];
106106

107107
const COLUMN_WIDTHS = ["auto", "180px", "120px", "120px", "120px", "64px"];
@@ -531,6 +531,9 @@ export const MembersTable = ({
531531
</Tooltip>
532532
533533
<span>{section.rows.length}</span>
534+
{section.id === "requests" && (
535+
<NotificationDot />
536+
)}
534537
</div>
535538
</TableCell>
536539
</TableRow>

0 commit comments

Comments
 (0)