Skip to content

Commit b9b92b8

Browse files
auto-bsp-changes
1 parent c2bb77d commit b9b92b8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/02/z2ui5.wapa.component.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ sap.ui.define(["sap/ui/core/UIComponent", "z2ui5/model/models", "z2ui5/cc/Server
1919
if (z2ui5?.checkLocal == false) {
2020
z2ui5 = {};
2121
}
22-
23-
z2ui5.oRouter = this.getRouter();
24-
z2ui5.oRouter.initialize();
25-
z2ui5.oRouter.stop();
2622

2723
z2ui5.oDeviceModel = Models.createDeviceModel();
2824
this.setModel(z2ui5.oDeviceModel, "device");
@@ -64,6 +60,11 @@ sap.ui.define(["sap/ui/core/UIComponent", "z2ui5/model/models", "z2ui5/cc/Server
6460
z2ui5.oController.displayView(event.state.view, event.state.model);
6561
}
6662
});
63+
64+
z2ui5.oRouter = this.getRouter();
65+
z2ui5.oRouter.initialize();
66+
z2ui5.oRouter.stop();
67+
6768
},
6869

6970
__beforeunload: function () {

0 commit comments

Comments
 (0)