@steedos/service-pages 2.4.0-beta.5 → 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.
@@ -747,14 +747,16 @@
747
747
  }
748
748
 
749
749
  Steedos.Page.Header.render = function(appId, tabId){
750
- const app = _.find(Session.get('app_menus'), {id: appId}) || {}
750
+ let app = _.find(Session.get('app_menus'), {id: appId}) || {}
751
751
  if (app.id === 'admin' || (window.innerWidth < 768))
752
752
  app.showSidebar = true;
753
753
  if (app.showSidebar)
754
754
  document.body.classList.add('sidebar')
755
755
  else
756
756
  document.body.classList.remove("sidebar")
757
-
757
+ if(app.showSidebar && window.location.pathname.startsWith("/workflow")){
758
+ app = {id: 'workflow'}
759
+ }
758
760
  try {
759
761
  const data = {
760
762
  app
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-pages",
3
- "version": "2.4.0-beta.5",
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": "e7eac21c8da88e04b1f01ae87cc939c55f7d90af",
11
+ "gitHead": "db5743c7646e47359b3724b96218ef1b2aa203be",
12
12
  "dependencies": {
13
13
  "ejs": "^3.1.8"
14
14
  }