@social-mail/social-mail-client 1.9.41 → 1.9.42

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.
@@ -47132,14 +47132,14 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
47132
47132
  }
47133
47133
  logout() {
47134
47134
  return __awaiter(this, void 0, void 0, function* () {
47135
- var _a, _b;
47135
+ var _a, _b, _c;
47136
47136
  const session = yield this.entityService.query(LoginSession, "currentUser").firstOrDefault();
47137
47137
  session.invalid = true;
47138
47138
  const cloner = this.entityService.cloner(session);
47139
47139
  yield this.entityService.save(cloner.copy);
47140
47140
  yield sleep(1000);
47141
47141
  if ((_b = (_a = SocialMailApp.config) === null || _a === void 0 ? void 0 : _a.links) === null || _b === void 0 ? void 0 : _b.login) {
47142
- location.href = SocialMailApp.config.links.home;
47142
+ location.href = (_c = SocialMailApp.config.links.logout) !== null && _c !== void 0 ? _c : SocialMailApp.config.links.home;
47143
47143
  return;
47144
47144
  }
47145
47145
  location.reload();