fixed uncaught promise error when clicking back from see-all-blocks > block detail
This commit is contained in:
parent
7fef8d340f
commit
19a9ec567f
@ -1,6 +1,7 @@
|
|||||||
import { Component, NgZone, Input } from '@angular/core';
|
import { Component, NgZone, Input } from '@angular/core';
|
||||||
import { BlocksProvider } from '../../providers/blocks/blocks';
|
import { BlocksProvider } from '../../providers/blocks/blocks';
|
||||||
import { NavController } from 'ionic-angular';
|
import { NavController } from 'ionic-angular';
|
||||||
|
import { BlocksPage } from '../../pages';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated class for the LatestBlocksComponent component.
|
* Generated class for the LatestBlocksComponent component.
|
||||||
@ -60,6 +61,6 @@ export class LatestBlocksComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public goToBlocks(): void {
|
public goToBlocks(): void {
|
||||||
this.navCtrl.push('blocks');
|
this.navCtrl.setRoot(BlocksPage);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user