MOBILE-2333 siteplugins: Fix page params in main menu plugins
parent
e7f55cfca2
commit
5318920ac2
|
@ -98,7 +98,7 @@ export class CoreMainMenuMorePage implements OnDestroy {
|
||||||
* @param {CoreMainMenuHandlerData} handler Handler to open.
|
* @param {CoreMainMenuHandlerData} handler Handler to open.
|
||||||
*/
|
*/
|
||||||
openHandler(handler: CoreMainMenuHandlerData): void {
|
openHandler(handler: CoreMainMenuHandlerData): void {
|
||||||
this.navCtrl.push(handler.page);
|
this.navCtrl.push(handler.page, handler.pageParams);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<ion-header>
|
<ion-header>
|
||||||
<ion-navbar>
|
<ion-navbar>
|
||||||
<ion-title>{{ title }}</ion-title>
|
<ion-title>{{ title | translate }}</ion-title>
|
||||||
|
|
||||||
<ion-buttons end>
|
<ion-buttons end>
|
||||||
<!-- If the site plugin defines some buttons using core-nav-buttons, they will be added here. -->
|
<!-- If the site plugin defines some buttons using core-nav-buttons, they will be added here. -->
|
||||||
|
|
Loading…
Reference in New Issue