Add link to wallet page from custom dashboard widget

This commit is contained in:
Mononaut 2024-10-04 22:42:02 +00:00
parent f0e207dff2
commit 2d2c55ce0e
No known key found for this signature in database
GPG key ID: A3F058E41374C04E

View file

@ -267,9 +267,11 @@
<div class="col" style="max-height: 410px" [style.order]="isMobile && widget.mobileOrder || 8"> <div class="col" style="max-height: 410px" [style.order]="isMobile && widget.mobileOrder || 8">
<div class="card graph-card"> <div class="card graph-card">
<div class="card-body"> <div class="card-body">
<span class="title-link"> <a class="title-link mb-0" style="margin-top: -2px" href="" [routerLink]="['/wallet/' + widget.props.wallet | relativeUrl]">
<h5 class="card-title d-inline" i18n="dashboard.balance-history">Balance History</h5> <h5 class="card-title d-inline" i18n="dashboard.balance-history">Balance History</h5>
</span> <span>&nbsp;</span>
<fa-icon [icon]="['fas', 'external-link-alt']" [fixedWidth]="true" style="vertical-align: text-top; font-size: 13px; color: var(--title-fg)"></fa-icon>
</a>
<app-address-graph [addressSummary$]="walletSummary$" [period]="widget.props.period || 'all'" [widget]="true" [height]="graphHeight"></app-address-graph> <app-address-graph [addressSummary$]="walletSummary$" [period]="widget.props.period || 'all'" [widget]="true" [height]="graphHeight"></app-address-graph>
</div> </div>
</div> </div>