Target block value changed
This commit is contained in:
parent
cb82afaf56
commit
6e0f461309
@ -24,7 +24,7 @@ import { ChartService } from 'src/app/shared/services/chart.service';
|
|||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="text-center detail_div">
|
<div class="text-center detail_div">
|
||||||
<p class="count mb-0">
|
<p class="count mb-0">
|
||||||
<span class="">Countdown to Halving</span> {{countDownDate}} <span class="">Blocks to go</span> {{demo}}</p>
|
<span class="">Countdown to Halving</span> {{targetBlock}} <span class="">Blocks to go</span> {{demo}}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -62,6 +62,7 @@ export class HomeWorksapceComponent extends Utils
|
|||||||
viewchartvar: boolean;
|
viewchartvar: boolean;
|
||||||
countDownDate: any;
|
countDownDate: any;
|
||||||
demo: any;
|
demo: any;
|
||||||
|
targetBlock;
|
||||||
constructor(@Inject(DOCUMENT) public document: Document,
|
constructor(@Inject(DOCUMENT) public document: Document,
|
||||||
private router: Router,private route: ActivatedRoute,private titleService: Title, private chartService: ChartService) {
|
private router: Router,private route: ActivatedRoute,private titleService: Title, private chartService: ChartService) {
|
||||||
super(document);
|
super(document);
|
||||||
@ -70,6 +71,7 @@ export class HomeWorksapceComponent extends Utils
|
|||||||
} else {
|
} else {
|
||||||
this.viewchartvar = false;
|
this.viewchartvar = false;
|
||||||
}
|
}
|
||||||
|
this.targetBlock = environment.TARGETBLOCK;
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
Loading…
Reference in New Issue
Block a user