@steedos/service-pages 2.4.0-beta.4 → 2.4.0-beta.6
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.
|
@@ -108,9 +108,9 @@
|
|
|
108
108
|
return {
|
|
109
109
|
render_engine: 'amis',
|
|
110
110
|
name: 'steedosRecordPage',
|
|
111
|
-
bodyClassName: 'p-3',
|
|
112
111
|
schema: {
|
|
113
|
-
"type": "
|
|
112
|
+
"type": "service",
|
|
113
|
+
"className": 'sm:p-3',
|
|
114
114
|
"name": `amis-${appId}-${objectApiName}-detail`,
|
|
115
115
|
"title": "Welcome to Steedos",
|
|
116
116
|
"body": [
|
|
@@ -747,16 +747,16 @@
|
|
|
747
747
|
}
|
|
748
748
|
|
|
749
749
|
Steedos.Page.Header.render = function(appId, tabId){
|
|
750
|
-
|
|
751
|
-
if (
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
750
|
+
let app = _.find(Session.get('app_menus'), {id: appId}) || {}
|
|
751
|
+
if (app.id === 'admin' || (window.innerWidth < 768))
|
|
752
|
+
app.showSidebar = true;
|
|
753
|
+
if (app.showSidebar)
|
|
754
|
+
document.body.classList.add('sidebar')
|
|
755
|
+
else
|
|
756
|
+
document.body.classList.remove("sidebar")
|
|
757
|
+
if(app.showSidebar && window.location.pathname.startsWith("/workflow")){
|
|
758
|
+
app = {id: 'workflow'}
|
|
758
759
|
}
|
|
759
|
-
|
|
760
760
|
try {
|
|
761
761
|
const data = {
|
|
762
762
|
app
|
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.6",
|
|
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": "db5743c7646e47359b3724b96218ef1b2aa203be",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"ejs": "^3.1.8"
|
|
14
14
|
}
|