Merge pull request #5125 from mempool/mononaut/recent-address-chart

Make address chart prefer "recent" mode by default
This commit is contained in:
wiz 2024-06-05 14:22:00 +09:00 committed by GitHub
commit 6b3005c49d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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) => {