@steedos/webapp 3.0.0-beta.140 → 3.0.0-beta.141

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.
@@ -59184,6 +59184,15 @@ Try polyfilling it using "@formatjs/intl-displaynames"
59184
59184
  let [app, setApp] = reactExports.useState(null);
59185
59185
  reactExports.useEffect(() => {
59186
59186
  const fetchApp = async () => {
59187
+ if (appId === "-" || appId == null) {
59188
+ setApp({
59189
+ id: "-",
59190
+ name: "",
59191
+ showSidebar: false
59192
+ });
59193
+ document.body.classList.remove("sidebar");
59194
+ return;
59195
+ }
59187
59196
  if (appId) {
59188
59197
  try {
59189
59198
  const response = await fetch(`${""}/service/api/apps/${appId}/menus?mobile=${isMobile}`, {
package/dist/index.html CHANGED
@@ -63,7 +63,7 @@
63
63
 
64
64
  </script>
65
65
  <link rel="stylesheet" type="text/css" href="/tailwind/tailwind-steedos.css">
66
- <script type="module" crossorigin src="/assets/index-BVOzCmRV.js"></script>
66
+ <script type="module" crossorigin src="/assets/index-BRIWjKH0.js"></script>
67
67
  </head>
68
68
  <body class="skin-blue-light fixed steedos sidebar-mini three-columns" >
69
69
  <div id="root" class="steedos skin-blue-light creator h-full flex flex-col relative overflow-hidden bg-slate-50"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/webapp",
3
- "version": "3.0.0-beta.140",
3
+ "version": "3.0.0-beta.141",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -75,5 +75,5 @@
75
75
  "access": "public"
76
76
  },
77
77
  "repository": "https://github.com/steedos/app-builder/tree/master/apps/accounts",
78
- "gitHead": "332d116671c9b7be64eaa1f73febe61b37191567"
78
+ "gitHead": "f448582d11cedf0fd7bd9767c6e57da5414f7530"
79
79
  }