Skip to content

Commit 171ef3a

Browse files
committed
One more edge case for plus sign in convertible balance
1 parent 6b9e5b6 commit 171ef3a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/Expense/ConvertibleBalance.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,9 @@ export const ConvertibleBalance: React.FC<ConvertibleBalanceProps> = ({
219219
className={className}
220220
amount={totalConvertedAmount ? totalConvertedAmount : balances[0]!.amount}
221221
currency={totalConvertedAmount ? selectedCurrency : balances[0]!.currency}
222-
hasMore={balances.length > 1}
222+
hasMore={
223+
balances.length > 1 && (selectedCurrency === SHOW_ALL_VALUE || !selectedCurrency)
224+
}
223225
/>
224226
)}
225227
</div>

0 commit comments

Comments
 (0)