Feature/add value to position detail dialog (#492)

* Add value to position detail dialog

* Update changelog
This commit is contained in:
Thomas Kaul
2021-11-27 09:51:08 +01:00
committed by GitHub
parent 705441ecf8
commit 72067459d6
10 changed files with 55 additions and 11 deletions

View File

@@ -1,5 +1,6 @@
<gf-dialog-header
mat-dialog-title
position="center"
[deviceType]="data.deviceType"
[title]="name ?? symbol"
(closeButtonClicked)="onClose()"
@@ -7,6 +8,17 @@
<div class="flex-grow-1" mat-dialog-content>
<div class="container p-0">
<div class="row">
<div class="col-12 d-flex justify-content-center mb-3">
<gf-value
size="large"
[currency]="data.baseCurrency"
[locale]="data.locale"
[value]="value"
></gf-value>
</div>
</div>
<gf-line-chart
class="mb-4"
benchmarkLabel="Buy Price"