Make address graph prefer "recent" mode by default

This commit is contained in:
Mononaut 2024-05-31 17:20:07 +00:00
parent ea1629fba8
commit 37725bb341
No known key found for this signature in database
GPG key ID: A3F058E41374C04E
2 changed files with 3 additions and 1 deletions

View file

@ -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>

View file

@ -182,6 +182,8 @@ export class AddressComponent implements OnInit, OnDestroy {
if (!this.showBalancePeriod()) {
this.setBalancePeriod('all');
} else {
this.setBalancePeriod('1m');
}
},
(error) => {