@social-mail/social-mail-client 1.8.368 → 1.8.369

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-client",
3
- "version": "1.8.368",
3
+ "version": "1.8.369",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -81,6 +81,7 @@ export default abstract class BaseApp extends MobileDesktopApp {
81
81
  const url = new URL(SocialMailApp.config.links.login);
82
82
  url.searchParams.append("returnUrl", location.href);
83
83
  location.href = url.toString();
84
+ return;
84
85
  }
85
86
  PageNavigator.openPage(LoginPage);
86
87
  }
@@ -46,6 +46,7 @@ export default class AppIndex extends MobileDesktopApp {
46
46
  if (!currentUser) {
47
47
  if (SocialMailApp.config.links.login) {
48
48
  location.href = SocialMailApp.config.links.login;
49
+ return;
49
50
  }
50
51
  PageNavigator.openPage(LoginPage);
51
52
  return;