@social-mail/social-mail-client 1.8.370 → 1.8.372
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.
- package/content/modules/monaco/monaco.html +2 -2
- package/content/modules/monaco/monaco.mjs +1 -1
- package/dist/admin/AdminAppIndex.pack.global.css +1 -1
- package/dist/admin/AdminAppIndex.pack.global.css.map +1 -1
- package/dist/admin/AdminAppIndex.pack.js +5 -0
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/common/pages/splash/SplashScreenPage.global.css +1 -1
- package/dist/common/pages/splash/SplashScreenPage.global.css.map +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.js +5 -0
- package/dist/public/store/cart/ShoppingCart.pack.js.map +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.min.js +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.min.js.map +1 -1
- package/dist/services/LoginService.d.ts.map +1 -1
- package/dist/services/LoginService.js +5 -0
- package/dist/services/LoginService.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.global.css +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.global.css.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +5 -0
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.global.css +1 -1
- package/dist/web/AppIndex.pack.global.css.map +1 -1
- package/dist/web/AppIndex.pack.js +5 -0
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +1 -1
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/common/pages/splash/SplashScreenPage.global.css +5 -0
- package/src/services/LoginService.ts +5 -2
package/package.json
CHANGED
|
@@ -7,7 +7,12 @@ splash-screen-page {
|
|
|
7
7
|
width: 100%;
|
|
8
8
|
height: 100%;
|
|
9
9
|
overflow: hidden;
|
|
10
|
+
display: grid;
|
|
11
|
+
grid-template-columns: auto 30vw auto;
|
|
12
|
+
grid-template-rows: auto 30vh auto;
|
|
10
13
|
& > * {
|
|
14
|
+
grid-column: 2;
|
|
15
|
+
grid-row: 2;
|
|
11
16
|
width: 100%;
|
|
12
17
|
height: 100%;
|
|
13
18
|
overflow: hidden;
|
|
@@ -7,8 +7,6 @@ import SocialMailApp from "../common/SocialMailApp";
|
|
|
7
7
|
import { App } from "@web-atoms/core/dist/App";
|
|
8
8
|
import sleep from "@web-atoms/core/dist/core/sleep";
|
|
9
9
|
import { CancelToken } from "@web-atoms/core/dist/core/types";
|
|
10
|
-
import PositronInBrowser from "@positron-js/context/dist/PositronInBrowser";
|
|
11
|
-
// import LocalDbService from "./local-db/LocalDbService";
|
|
12
10
|
|
|
13
11
|
@DISingleton()
|
|
14
12
|
export default class LoginService {
|
|
@@ -65,6 +63,11 @@ export default class LoginService {
|
|
|
65
63
|
const cloner = this.entityService.cloner(session);
|
|
66
64
|
await this.entityService.save(cloner.copy);
|
|
67
65
|
await sleep(1000);
|
|
66
|
+
// if we have remote login.. redirect to different page...
|
|
67
|
+
if (SocialMailApp.config?.links?.login) {
|
|
68
|
+
location.href = SocialMailApp.config.links.home;
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
68
71
|
location.reload();
|
|
69
72
|
}
|
|
70
73
|
|