feat: add completed onboarding column to organization members table (#25582)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com>
This commit is contained in:
co-authored by
Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Udit Takkar
Syed Ali Shahbaz
parent
cc8da034c0
commit
2b61bddf7b
@@ -79,6 +79,7 @@ const initalColumnVisibility = {
|
||||
teams: true,
|
||||
createdAt: false,
|
||||
updatedAt: false,
|
||||
completedOnboarding: false,
|
||||
twoFactorEnabled: false,
|
||||
actions: true,
|
||||
};
|
||||
@@ -418,6 +419,22 @@ function UserListTableContent({
|
||||
},
|
||||
cell: ({ row }) => <div>{row.original.updatedAt || ""}</div>,
|
||||
},
|
||||
{
|
||||
id: "completedOnboarding",
|
||||
accessorKey: "completedOnboarding",
|
||||
header: t("completed_onboarding"),
|
||||
enableSorting: false,
|
||||
enableColumnFilter: false,
|
||||
size: 80,
|
||||
cell: ({ row }) => {
|
||||
const { completedOnboarding } = row.original;
|
||||
return (
|
||||
<Badge variant={completedOnboarding ? "green" : "gray"}>
|
||||
{completedOnboarding ? t("yes") : t("no")}
|
||||
</Badge>
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
id: "twoFactorEnabled",
|
||||
accessorKey: "twoFactorEnabled",
|
||||
|
||||
Reference in New Issue
Block a user