Merge pull request #2187 from mempool/nymkappa/feature/timespan-dashboard
[LN Dashboard] - Show 3y charts instead of 1y
This commit is contained in:
		
						commit
						7933a51994
					
				@ -59,7 +59,7 @@ export class NodesNetworksChartComponent implements OnInit {
 | 
				
			|||||||
    let firstRun = true;
 | 
					    let firstRun = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (this.widget) {
 | 
					    if (this.widget) {
 | 
				
			||||||
      this.miningWindowPreference = '1y';
 | 
					      this.miningWindowPreference = '3y';
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
      this.seoService.setTitle($localize`Lightning nodes per network`);
 | 
					      this.seoService.setTitle($localize`Lightning nodes per network`);
 | 
				
			||||||
      this.miningWindowPreference = this.miningService.getDefaultTimespan('all');
 | 
					      this.miningWindowPreference = this.miningService.getDefaultTimespan('all');
 | 
				
			||||||
 | 
				
			|||||||
@ -58,7 +58,7 @@ export class LightningStatisticsChartComponent implements OnInit {
 | 
				
			|||||||
    let firstRun = true;
 | 
					    let firstRun = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (this.widget) {
 | 
					    if (this.widget) {
 | 
				
			||||||
      this.miningWindowPreference = '1y';
 | 
					      this.miningWindowPreference = '3y';
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
      this.seoService.setTitle($localize`Channels and Capacity`);
 | 
					      this.seoService.setTitle($localize`Channels and Capacity`);
 | 
				
			||||||
      this.miningWindowPreference = this.miningService.getDefaultTimespan('all');
 | 
					      this.miningWindowPreference = this.miningService.getDefaultTimespan('all');
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user