mirror of https://github.com/ghostfolio/ghostfolio
Browse Source
Fixes #6482 toCurrencyAtDate() previously returned undefined when no historical exchange rate data was available for the requested date. This undefined propagated into activity fields like feeInBaseCurrency and valueInBaseCurrency, causing [big.js] Invalid number crashes on the Overview, Portfolio, and Holdings pages. Fix: log a warning and return the original aValue (1:1 fallback) instead of undefined, preventing the crash while gracefully degrading. Signed-off-by: Venkateswarlu Boggavarapu <mailtoboggavarapu@gmail.com>pull/6751/head
1 changed files with 5 additions and 1 deletions
Loading…
Reference in new issue