Browse Source

Merge pull request #127 from dandevaud/feature/MR-Upstream-2024-10-02

Feature/mr upstream 2024 10 02
pull/5027/head
dandevaud 9 months ago
committed by GitHub
parent
commit
f74177960c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 7
      apps/api/src/app/portfolio/portfolio.service.ts
  2. 1
      apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html

7
apps/api/src/app/portfolio/portfolio.service.ts

@ -802,11 +802,8 @@ export class PortfolioService {
const stakeRewards = getSum(
activities
.filter(({ SymbolProfile }) => {
return symbol === SymbolProfile.symbol;
})
.filter(({ type }) => {
return type === 'STAKE';
.filter(({ SymbolProfile, type }) => {
return symbol === SymbolProfile.symbol && type === 'STAKE';
})
.map(({ quantity }) => {
return new Big(quantity);

1
apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html

@ -215,7 +215,6 @@
}
</gf-value>
</div>
<div class="col-6 mb-3"></div>
<div class="col-6 mb-3">
<gf-value i18n size="medium" [hidden]="!assetClass" [value]="assetClass"
>Asset Class</gf-value

Loading…
Cancel
Save