Merge pull request #1276 from dpalou/MOBILE-2333-2

MOBILE-2333 siteplugins: Fix page params in main menu plugins
main
Juan Leyva 2018-03-22 12:51:34 +01:00 committed by GitHub
commit 918e17e6db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ export class CoreMainMenuMorePage implements OnDestroy {
* @param {CoreMainMenuHandlerData} handler Handler to open.
*/
openHandler(handler: CoreMainMenuHandlerData): void {
this.navCtrl.push(handler.page);
this.navCtrl.push(handler.page, handler.pageParams);
}
/**

View File

@ -1,6 +1,6 @@
<ion-header>
<ion-navbar>
<ion-title>{{ title }}</ion-title>
<ion-title>{{ title | translate }}</ion-title>
<ion-buttons end>
<!-- If the site plugin defines some buttons using core-nav-buttons, they will be added here. -->