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:
Jason Dreyzehner 2018-02-02 20:06:16 -05:00 committed by GitHub
commit 468c2618b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.push(BlocksPage);
}
}