Merge pull request #5125 from mempool/mononaut/recent-address-chart
Make address chart prefer "recent" mode by default
This commit is contained in:
commit
6b3005c49d
@ -66,7 +66,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md">
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -182,6 +182,8 @@ export class AddressComponent implements OnInit, OnDestroy {
|
|||||||
|
|
||||||
if (!this.showBalancePeriod()) {
|
if (!this.showBalancePeriod()) {
|
||||||
this.setBalancePeriod('all');
|
this.setBalancePeriod('all');
|
||||||
|
} else {
|
||||||
|
this.setBalancePeriod('1m');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
(error) => {
|
(error) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user