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: show ExchangeRate tooltip even when refresh callback is not supplied

Rob Carrington869b2796bd16
diff --git a/apps/carbon/app/components/Form/ExchangeRate.tsx b/apps/carbon/app/components/Form/ExchangeRate.tsx
index 6bba53b1e6..ae7d328de9 100644
--- a/apps/carbon/app/components/Form/ExchangeRate.tsx
+++ b/apps/carbon/app/components/Form/ExchangeRate.tsx
@@ -43,7 +43,7 @@ const ExchangeRate: React.FC<ExchangeRateProps> = ({
label={
<HStack spacing={1}>
<span>Exchange Rate</span>
- {exchangeRateUpdatedAt && onRefresh && (
+ {exchangeRateUpdatedAt && (
<Tooltip>
<TooltipTrigger tabIndex={-1}>
<LuInfo className="w-4 h-4" />