Show 3y charts by default on dashboard to get more interesting charts

This commit is contained in:
nymkappa 2022-07-26 15:18:42 +02:00
parent 65cd708295
commit b69a7a5031
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ export class NodesNetworksChartComponent implements OnInit {
let firstRun = true;
if (this.widget) {
this.miningWindowPreference = '1y';
this.miningWindowPreference = '3y';
} else {
this.seoService.setTitle($localize`Lightning nodes per network`);
this.miningWindowPreference = this.miningService.getDefaultTimespan('all');

View File

@ -58,7 +58,7 @@ export class LightningStatisticsChartComponent implements OnInit {
let firstRun = true;
if (this.widget) {
this.miningWindowPreference = '1y';
this.miningWindowPreference = '3y';
} else {
this.seoService.setTitle($localize`Channels and Capacity`);
this.miningWindowPreference = this.miningService.getDefaultTimespan('all');