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
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",
|
||||
|
||||
@@ -3494,6 +3494,7 @@
|
||||
"last_active": "Last Active",
|
||||
"member_since": "Member Since",
|
||||
"last_updated": "Last Updated",
|
||||
"completed_onboarding": "Completed Onboarding",
|
||||
"salesforce_on_cancel_write_to_event": "On cancelled booking, write to event record instead of deleting event",
|
||||
"salesforce_on_every_cancellation": "On every cancellation",
|
||||
"report_issue": "Report issue",
|
||||
|
||||
Reference in New Issue
Block a user