Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

refactor: remove console.logs

Brad Barbin618e9c0540b4
diff --git a/apps/carbon/app/modules/resources/ui/Abilities/AbilityEmployeesTable.tsx b/apps/carbon/app/modules/resources/ui/Abilities/AbilityEmployeesTable.tsx
index 29b2cbcfda..a8cd4978a5 100644
--- a/apps/carbon/app/modules/resources/ui/Abilities/AbilityEmployeesTable.tsx
+++ b/apps/carbon/app/modules/resources/ui/Abilities/AbilityEmployeesTable.tsx
@@ -35,10 +35,6 @@ const AbilityEmployeesTable = ({
() =>
Array.isArray(employees)
? employees.map((employee) => {
- if (Array.isArray(employee)) {
- throw new Error("AbilityEmployeesTable: user is an array");
- }
-
return {
id: employee.id,
employeeId: employee.employeeId,
@@ -54,8 +50,6 @@ const AbilityEmployeesTable = ({
[employees, weeks]
);
- console.log();
-
const columns = useMemo<ColumnDef<(typeof rows)[number]>[]>(() => {
return [
{