@steedos/service-pages 2.4.0-beta.33 → 2.4.0-beta.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -58,12 +58,6 @@
|
|
|
58
58
|
|
|
59
59
|
Steedos.Page.getPage = function (type, appId, objectApiName, recordId, pageId) {
|
|
60
60
|
let objectInfo = null;
|
|
61
|
-
if (type != 'list' && objectApiName) {
|
|
62
|
-
objectInfo = Creator.getObject(objectApiName);
|
|
63
|
-
if (objectInfo && objectInfo.version < 2) {
|
|
64
|
-
return;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
61
|
if(!objectApiName){
|
|
68
62
|
objectApiName = ''
|
|
69
63
|
}
|
|
@@ -658,6 +652,9 @@
|
|
|
658
652
|
|
|
659
653
|
Steedos.Page.Header.render = function(appId, tabId){
|
|
660
654
|
let app = _.find(Session.get('app_menus'), {id: appId}) || {}
|
|
655
|
+
if(_.isEmpty(app)){
|
|
656
|
+
return ;
|
|
657
|
+
}
|
|
661
658
|
if (appId === 'admin' || (window.innerWidth < 768))
|
|
662
659
|
app.showSidebar = true;
|
|
663
660
|
if (app.showSidebar)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/service-pages",
|
|
3
|
-
"version": "2.4.0-beta.
|
|
3
|
+
"version": "2.4.0-beta.34",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"scripts": {},
|
|
6
6
|
"license": "MIT",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"access": "public"
|
|
10
10
|
},
|
|
11
|
-
"gitHead": "
|
|
11
|
+
"gitHead": "099bf6d6e87ab46788e13eb39fb937cda0ea593f",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"ejs": "^3.1.8"
|
|
14
14
|
}
|