♻️ set approval state nullable

This commit is contained in:
Fred KISSIE
2026-01-15 01:03:02 +01:00
parent fc0ec0d754
commit 9040f9b82a
6 changed files with 16 additions and 19 deletions

View File

@@ -58,7 +58,7 @@ export default async function ClientsPage(props: ClientsPageProps) {
agent: client.agent,
archived: client.archived || false,
blocked: client.blocked || false,
approvalState: client.approvalState ?? "approved"
approvalState: client.approvalState
};
};

View File

@@ -141,15 +141,6 @@ export const orgNavSections = (env?: Env): SidebarNavSection[] => [
}
]
: []),
...(build !== "oss"
? [
{
title: "sidebarApprovals",
href: "/{orgId}/settings/access/approvals",
icon: <UserCog className="size-4 flex-none" />
}
]
: []),
{
title: "sidebarShareableLinks",
href: "/{orgId}/settings/share-links",