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.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
fix(custom-fields): keep a Link column near its neighbours' width
Raula42bdfc3f678
diff --git a/apps/erp/app/hooks/useCustomColumns.tsx b/apps/erp/app/hooks/useCustomColumns.tsxindex 60c3c335ec..87d45e76b9 100644--- a/apps/erp/app/hooks/useCustomColumns.tsx+++ b/apps/erp/app/hooks/useCustomColumns.tsx@@ -144,8 +144,10 @@ export function useCustomColumns<T extends { customFields: Json }>(const value = isObject(item.row.original.customFields)? item.row.original.customFields[field.id]: null;+ // A long address would stretch the column to the cell's 30dvw+ // cap; 10rem keeps it near its neighbours, the tooltip has the rest.return typeof value === "string" && value ? (- <LinkValue value={value} />+ <LinkValue value={value} className="max-w-40" />) : null;}case DataType.User: