Commit for place All tab in total diffculty tab
This commit is contained in:
parent
b07c52b5a7
commit
f0eb187819
@ -1309,7 +1309,7 @@ export class BlockchainBlockController {
|
||||
try {
|
||||
const TotalDifficultyNBlockRequestData: TotalDifficultyNBlockDto =
|
||||
request.query;
|
||||
if (TotalDifficultyNBlockRequestData.Interval) {
|
||||
if (TotalDifficultyNBlockRequestData.Interval && TotalDifficultyNBlockRequestData.Interval != "all") {
|
||||
var timeIntervalQry =
|
||||
"timestamp at time zone '" +
|
||||
process.env.TIME_ZONE +
|
||||
|
@ -61,7 +61,7 @@
|
||||
"TRANSACTIONS_VS_DATE" : "Transactions by Date",
|
||||
"DAYS" : "days",
|
||||
"MONTHS" : "months",
|
||||
"All" : "all",
|
||||
"All" : "All",
|
||||
"WEEK" : "week",
|
||||
"SEARCH_TEXT" : "Search by hash, or block height or output commit ID",
|
||||
"BLOCK_REWARD" : "Block Reward",
|
||||
|
@ -64,7 +64,7 @@
|
||||
|
||||
<a href="JavaScript:void(0);" (click)="
|
||||
Difficultyreq('target', '', '', 'all',''); selectedItem = 7; difficultyRange = ''
|
||||
" id="7" #item7 [ngClass]="{ active: selectedItem == item7.id, day3m_txt: true }">all {{'home.All' | translate}}</a>
|
||||
" id="7" #item7 [ngClass]="{ active: selectedItem == item7.id, day3m_txt: true }">{{'home.All' | translate}}</a>
|
||||
|
||||
|
||||
|
||||
|
@ -435,7 +435,7 @@ export class GraphListComponent implements OnInit {
|
||||
let params = new HttpParams();
|
||||
params = params.append('FromDate', fromDate);
|
||||
params = params.append('ToDate', ToDate);
|
||||
params = params.append('Interval', (interval == "all")?"":interval);
|
||||
params = params.append('Interval', (interval == "all")?"all":interval);
|
||||
params = params.append('Type', this.Type);
|
||||
params = params.append('Difftype', difftype);
|
||||
this.chartService
|
||||
|
Loading…
Reference in New Issue
Block a user