took out some console logs and removed unneeded method

This commit is contained in:
Darren Nelsen 2017-07-26 17:05:38 -04:00
parent 04c4a71f14
commit 0d7e4783e7
2 changed files with 1 additions and 7 deletions

View File

@ -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;
}

View File

@ -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) => {