From e9f246deb13d1d9addd2dac8187e17a9556bbbab Mon Sep 17 00:00:00 2001 From: alma Date: Sun, 4 May 2025 10:24:16 +0200 Subject: [PATCH] dolibarr user --- app/api/users/route.ts | 1 - components/users/users-table.tsx | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/app/api/users/route.ts b/app/api/users/route.ts index 475c5f2f..cbca0e0a 100644 --- a/app/api/users/route.ts +++ b/app/api/users/route.ts @@ -532,7 +532,6 @@ export async function POST(req: Request) { user: { ...user, roles: validRoles, - dolibarrId: dolibarrUserId, // Include the Dolibarr ID if created }, }); diff --git a/components/users/users-table.tsx b/components/users/users-table.tsx index ae95072f..d88c26ea 100644 --- a/components/users/users-table.tsx +++ b/components/users/users-table.tsx @@ -48,7 +48,6 @@ interface User { createdTimestamp: number; roles: string[]; enabled: boolean; - dolibarrId?: number; } interface Role { @@ -514,7 +513,6 @@ export function UsersTable({ userRole = [] }: UsersTableProps) { Email Created At Roles - Dolibarr Actions @@ -537,15 +535,6 @@ export function UsersTable({ userRole = [] }: UsersTableProps) { ))} - - {user.dolibarrId ? ( - - ID: {user.dolibarrId} - - ) : ( - - - )} -