Bugfix/fix holdings for basic users (#1064)

* Fix holdings for basic users

* Update changelog
This commit is contained in:
Thomas Kaul
2022-07-07 21:06:12 +02:00
committed by GitHub
parent 8897f32bc5
commit 30835ced88
5 changed files with 28 additions and 15 deletions

View File

@@ -94,13 +94,9 @@
<div class="col-md-12 allocations-by-symbol">
<mat-card class="mb-3">
<mat-card-header class="overflow-hidden w-100">
<mat-card-title class="align-items-center d-flex text-truncate"
><span i18n>By Position</span
><gf-premium-indicator
*ngIf="user?.subscription?.type === 'Basic'"
class="ml-1"
></gf-premium-indicator
></mat-card-title>
<mat-card-title class="align-items-center d-flex text-truncate" i18n>
By Holding</mat-card-title
>
<gf-toggle
[defaultValue]="period"
[isLoading]="false"

View File

@@ -10,7 +10,7 @@
<div class="col-md-12 allocations-by-symbol">
<mat-card class="mb-3">
<mat-card-header class="overflow-hidden w-100">
<mat-card-title class="text-truncate" i18n>Positions</mat-card-title>
<mat-card-title class="text-truncate" i18n>Holdings</mat-card-title>
</mat-card-header>
<mat-card-content>
<gf-portfolio-proportion-chart