From 5318920ac24d23a6007e7390ddb0d75056103144 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Thu, 22 Mar 2018 12:40:54 +0100 Subject: [PATCH] MOBILE-2333 siteplugins: Fix page params in main menu plugins --- src/core/mainmenu/pages/more/more.ts | 2 +- src/core/siteplugins/pages/plugin-page/plugin-page.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/mainmenu/pages/more/more.ts b/src/core/mainmenu/pages/more/more.ts index ce0e1ccfe..9be9b6238 100644 --- a/src/core/mainmenu/pages/more/more.ts +++ b/src/core/mainmenu/pages/more/more.ts @@ -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); } /** diff --git a/src/core/siteplugins/pages/plugin-page/plugin-page.html b/src/core/siteplugins/pages/plugin-page/plugin-page.html index a7a553fbe..33f22af85 100644 --- a/src/core/siteplugins/pages/plugin-page/plugin-page.html +++ b/src/core/siteplugins/pages/plugin-page/plugin-page.html @@ -1,6 +1,6 @@ - {{ title }} + {{ title | translate }}