fixed uncaught promise error when clicking back from see-all-blocks > block detail

This commit is contained in:
Darren Nelsen 2018-02-02 16:35:12 -05:00
parent 7fef8d340f
commit 19a9ec567f

View File

@ -1,6 +1,7 @@
import { Component, NgZone, Input } from '@angular/core';
import { BlocksProvider } from '../../providers/blocks/blocks';
import { NavController } from 'ionic-angular';
import { BlocksPage } from '../../pages';
/**
* Generated class for the LatestBlocksComponent component.
@ -60,6 +61,6 @@ export class LatestBlocksComponent {
}
public goToBlocks(): void {
this.navCtrl.push('blocks');
this.navCtrl.setRoot(BlocksPage);
}
}