@steedos/webapp 3.0.0-beta.107 → 3.0.0-beta.109
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.
|
@@ -45976,7 +45976,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
45976
45976
|
}
|
|
45977
45977
|
return parsedPath;
|
|
45978
45978
|
}
|
|
45979
|
-
|
|
45979
|
+
typeof window !== "undefined" ? createHashHistory() : null;
|
|
45980
45980
|
function selectSpace(spaceId) {
|
|
45981
45981
|
return async (dispatch2, getState) => {
|
|
45982
45982
|
let selectedSpaceId = spaceId || LocalStorageStore.getItem("spaceId");
|
|
@@ -52303,8 +52303,6 @@ Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
52303
52303
|
}
|
|
52304
52304
|
function getMe() {
|
|
52305
52305
|
return async (dispatch2, getState) => {
|
|
52306
|
-
if (!LocalStorageStore.getItem("userId"))
|
|
52307
|
-
return { error: "user not found." };
|
|
52308
52306
|
const getMeFunc = bindClientFunc({
|
|
52309
52307
|
clientFunc: Client4.getMe,
|
|
52310
52308
|
onSuccess: UserTypes.RECEIVED_ME
|
|
@@ -52319,8 +52317,6 @@ Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
52319
52317
|
}
|
|
52320
52318
|
function validate() {
|
|
52321
52319
|
return async (dispatch2, getState) => {
|
|
52322
|
-
if (!LocalStorageStore.getItem("userId"))
|
|
52323
|
-
return { error: "userId not found." };
|
|
52324
52320
|
if (!LocalStorageStore.getItem("spaceId"))
|
|
52325
52321
|
return { error: "spaceId not found." };
|
|
52326
52322
|
const validateFunc = bindClientFunc({
|
|
@@ -54330,12 +54326,15 @@ Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
54330
54326
|
};
|
|
54331
54327
|
}
|
|
54332
54328
|
componentDidMount() {
|
|
54333
|
-
|
|
54334
|
-
|
|
54335
|
-
|
|
54336
|
-
|
|
54337
|
-
|
|
54338
|
-
|
|
54329
|
+
setTimeout(() => {
|
|
54330
|
+
if (Object.keys(this.props.spaces).length === 0 && this.props.tenant.enable_create_tenant) {
|
|
54331
|
+
this.props.navigate("/create-space");
|
|
54332
|
+
}
|
|
54333
|
+
if (Object.keys(this.props.spaces).length === 1 && this.props.tenant.enable_create_tenant != true) {
|
|
54334
|
+
this.props.actions.selectSpace(Object.keys(this.props.spaces)[0]);
|
|
54335
|
+
this.props.navigate(`/home/${Object.keys(this.props.spaces)[0]}`);
|
|
54336
|
+
}
|
|
54337
|
+
}, 0);
|
|
54339
54338
|
}
|
|
54340
54339
|
render() {
|
|
54341
54340
|
let spaceContent = [];
|
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-
|
|
66
|
+
<script type="module" crossorigin src="/assets/index-CF3vy3M1.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-gray-50"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/webapp",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.109",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
70
|
"repository": "https://github.com/steedos/app-builder/tree/master/apps/accounts",
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "5c0958e88a1e3db12f511609cd827e3e93782822"
|
|
72
72
|
}
|