mirror of
https://github.com/mempool/mempool.git
synced 2025-02-24 22:58:30 +01:00
Make address graph prefer "recent" mode by default
This commit is contained in:
parent
ea1629fba8
commit
37725bb341
2 changed files with 3 additions and 1 deletions
|
@ -66,7 +66,7 @@
|
|||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md">
|
||||
<app-address-graph [address]="addressString" [isPubkey]="address?.is_pubkey" [stats]="address.chain_stats" [period]="balancePeriod" />
|
||||
<app-address-graph [address]="addressString" [isPubkey]="address?.is_pubkey" [stats]="address.chain_stats" [period]="balancePeriod" left="80" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -182,6 +182,8 @@ export class AddressComponent implements OnInit, OnDestroy {
|
|||
|
||||
if (!this.showBalancePeriod()) {
|
||||
this.setBalancePeriod('all');
|
||||
} else {
|
||||
this.setBalancePeriod('1m');
|
||||
}
|
||||
},
|
||||
(error) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue