From fdc65dc9b31648942acdfa245d1af6b27550d7f3 Mon Sep 17 00:00:00 2001 From: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com> Date: Mon, 31 Mar 2025 10:25:14 +0200 Subject: [PATCH] fix low release launchpad (#1818) --- app/webapp/Component.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/webapp/Component.js b/app/webapp/Component.js index 3f6e53aa..8e1339b2 100644 --- a/app/webapp/Component.js +++ b/app/webapp/Component.js @@ -19,10 +19,6 @@ sap.ui.define(["sap/ui/core/UIComponent", "z2ui5/model/models", "z2ui5/cc/Server if (z2ui5?.checkLocal == false) { z2ui5 = {}; } - - z2ui5.oRouter = this.getRouter(); - z2ui5.oRouter.initialize(); - z2ui5.oRouter.stop(); z2ui5.oDeviceModel = Models.createDeviceModel(); this.setModel(z2ui5.oDeviceModel, "device"); @@ -64,6 +60,11 @@ sap.ui.define(["sap/ui/core/UIComponent", "z2ui5/model/models", "z2ui5/cc/Server z2ui5.oController.displayView(event.state.view, event.state.model); } }); + + z2ui5.oRouter = this.getRouter(); + z2ui5.oRouter.initialize(); + z2ui5.oRouter.stop(); + }, __beforeunload: function () {