fix: exclude currency mirror from position shares (WealthLedger/frontend#59)

This commit is contained in:
2026-11-05 07:14:29 +03:00
parent 9efd37c5ff
commit 8153f9c407
2 changed files with 23 additions and 5 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ function toAccountPagePositionSections(
const denominators = new Map<string, number>();
for (const position of portfolio.positions) {
if (!position.currentValue) continue;
if (position.type === "CURRENCY" || !position.currentValue) continue;
const currency = position.currentValue.currency;
denominators.set(
currency,