Commit for place All tab in total diffculty tab

This commit is contained in:
shunmugam 2020-01-07 11:12:06 +05:30
parent b07c52b5a7
commit f0eb187819
4 changed files with 4 additions and 4 deletions

View File

@ -1309,7 +1309,7 @@ export class BlockchainBlockController {
try { try {
const TotalDifficultyNBlockRequestData: TotalDifficultyNBlockDto = const TotalDifficultyNBlockRequestData: TotalDifficultyNBlockDto =
request.query; request.query;
if (TotalDifficultyNBlockRequestData.Interval) { if (TotalDifficultyNBlockRequestData.Interval && TotalDifficultyNBlockRequestData.Interval != "all") {
var timeIntervalQry = var timeIntervalQry =
"timestamp at time zone '" + "timestamp at time zone '" +
process.env.TIME_ZONE + process.env.TIME_ZONE +

View File

@ -61,7 +61,7 @@
"TRANSACTIONS_VS_DATE" : "Transactions by Date", "TRANSACTIONS_VS_DATE" : "Transactions by Date",
"DAYS" : "days", "DAYS" : "days",
"MONTHS" : "months", "MONTHS" : "months",
"All" : "all", "All" : "All",
"WEEK" : "week", "WEEK" : "week",
"SEARCH_TEXT" : "Search by hash, or block height or output commit ID", "SEARCH_TEXT" : "Search by hash, or block height or output commit ID",
"BLOCK_REWARD" : "Block Reward", "BLOCK_REWARD" : "Block Reward",

View File

@ -64,7 +64,7 @@
<a href="JavaScript:void(0);" (click)=" <a href="JavaScript:void(0);" (click)="
Difficultyreq('target', '', '', 'all',''); selectedItem = 7; difficultyRange = '' 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>

View File

@ -435,7 +435,7 @@ export class GraphListComponent implements OnInit {
let params = new HttpParams(); let params = new HttpParams();
params = params.append('FromDate', fromDate); params = params.append('FromDate', fromDate);
params = params.append('ToDate', ToDate); 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('Type', this.Type);
params = params.append('Difftype', difftype); params = params.append('Difftype', difftype);
this.chartService this.chartService