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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
2 additions and
6 deletions
-
apps/api/src/app/portfolio/portfolio.service.ts
-
apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html
|
@ -802,11 +802,8 @@ export class PortfolioService { |
|
|
|
|
|
|
|
|
const stakeRewards = getSum( |
|
|
const stakeRewards = getSum( |
|
|
activities |
|
|
activities |
|
|
.filter(({ SymbolProfile }) => { |
|
|
.filter(({ SymbolProfile, type }) => { |
|
|
return symbol === SymbolProfile.symbol; |
|
|
return symbol === SymbolProfile.symbol && type === 'STAKE'; |
|
|
}) |
|
|
|
|
|
.filter(({ type }) => { |
|
|
|
|
|
return type === 'STAKE'; |
|
|
|
|
|
}) |
|
|
}) |
|
|
.map(({ quantity }) => { |
|
|
.map(({ quantity }) => { |
|
|
return new Big(quantity); |
|
|
return new Big(quantity); |
|
|
|
@ -215,7 +215,6 @@ |
|
|
} |
|
|
} |
|
|
</gf-value> |
|
|
</gf-value> |
|
|
</div> |
|
|
</div> |
|
|
<div class="col-6 mb-3"></div> |
|
|
|
|
|
<div class="col-6 mb-3"> |
|
|
<div class="col-6 mb-3"> |
|
|
<gf-value i18n size="medium" [hidden]="!assetClass" [value]="assetClass" |
|
|
<gf-value i18n size="medium" [hidden]="!assetClass" [value]="assetClass" |
|
|
>Asset Class</gf-value |
|
|
>Asset Class</gf-value |
|
|