@steedos/service-pages 2.4.0-beta.12 → 2.4.0-beta.14

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.
@@ -72,7 +72,8 @@
72
72
 
73
73
  window.BuilderComponent = BuilderReact.BuilderComponent;
74
74
 
75
- // window.builder = BuilderReact.builder;
75
+ window.builder = BuilderReact.builder;
76
+ window.builder.init('steedos');
76
77
 
77
78
  Promise.all([
78
79
  waitForThing(Creator, 'USER_CONTEXT'),
@@ -362,11 +362,11 @@
362
362
 
363
363
  if(!lodash.isFunction(root)){
364
364
  //渲染loading
365
- render(BuilderComponent, {
366
- model: "page", content: {
367
- "data": loadingContentData
368
- }
369
- }, root)
365
+ // render(BuilderComponent, {
366
+ // model: "page", content: {
367
+ // "data": loadingContentData
368
+ // }
369
+ // }, root)
370
370
  }
371
371
 
372
372
  Promise.all([
@@ -748,7 +748,7 @@
748
748
 
749
749
  Steedos.Page.Header.render = function(appId, tabId){
750
750
  let app = _.find(Session.get('app_menus'), {id: appId}) || {}
751
- if (app.id === 'admin' || (window.innerWidth < 768))
751
+ if (appId === 'admin' || (window.innerWidth < 768))
752
752
  app.showSidebar = true;
753
753
  if (app.showSidebar)
754
754
  document.body.classList.add('sidebar')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-pages",
3
- "version": "2.4.0-beta.12",
3
+ "version": "2.4.0-beta.14",
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": "da00c18a69b1dbab296e7b441a40d6701b8db3ae",
11
+ "gitHead": "47f3797a400790410c8f333a4dbb21c877642aa9",
12
12
  "dependencies": {
13
13
  "ejs": "^3.1.8"
14
14
  }