Skip to content

Commit 4038e09

Browse files
1 parent 7d96e16 commit 4038e09

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/webapp/Component.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ sap.ui.define(["sap/ui/core/UIComponent", "z2ui5/model/models","z2ui5/cc/Server"
88

99
UIComponent.prototype.init.apply(this, arguments);
1010

11+
if (typeof z2ui5 == 'undefined'){
12+
z2ui5 = {};
13+
}
1114
this.getRouter().initialize();
1215
z2ui5.oRouter = this.getRouter();
1316
this.setModel(Models.createDeviceModel(), "device");

0 commit comments

Comments
 (0)