Merge pull request #888 from SonicWizard/next
fixed uncaught promise error when clicking back from see-all-blocks to block detail
This commit is contained in:
commit
468c2618b6
@ -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.push(BlocksPage);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user