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.

fix: return string when address lines missing

Brad Barbin7f22589bb117
diff --git a/packages/utils/src/address.ts b/packages/utils/src/address.ts
index 3c982978f9..f75af0dbee 100644
--- a/packages/utils/src/address.ts
+++ b/packages/utils/src/address.ts
@@ -11,6 +11,8 @@ export function formatAddressLines(
} else if (addressLine2) {
return addressLine2;
}
+
+ return "";
}
export function formatCityStatePostalCode(