took out some console logs and removed unneeded method
This commit is contained in:
parent
04c4a71f14
commit
0d7e4783e7
@ -31,9 +31,7 @@ export class BlockDetailPage {
|
||||
|
||||
this.http.get(apiPrefix + 'block/' + this.blockHash).subscribe(
|
||||
(data) => {
|
||||
console.log('block is', data);
|
||||
this.block = JSON.parse(data['_body']);
|
||||
console.log('this.block is', this.block);
|
||||
},
|
||||
(err) => {
|
||||
console.log('err is', err);
|
||||
@ -44,10 +42,6 @@ export class BlockDetailPage {
|
||||
);
|
||||
}
|
||||
|
||||
public ionViewDidLoad(): void {
|
||||
console.log('ionViewDidLoad BlockDetailPage');
|
||||
}
|
||||
|
||||
public ionViewWillLeave(): void {
|
||||
this.loading = true;
|
||||
}
|
||||
|
||||
@ -17,7 +17,7 @@ export class BlocksPage {
|
||||
public q: string;
|
||||
public badQuery: boolean = false;
|
||||
|
||||
constructor(public navCtrl: NavController, private http: Http, private blocksService: BlocksService) {
|
||||
constructor(private navCtrl: NavController, private http: Http, private blocksService: BlocksService) {
|
||||
this.title = 'Blocks';
|
||||
this.blocks = blocksService.latestBlocks;
|
||||
// this.blocks.subscribe((blocks) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user