@salla.sa/twilight-components 2.11.12 → 2.11.13

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.
@@ -21804,6 +21804,7 @@ const SallaLoginModal = class {
21804
21804
  }
21805
21805
  if (!salla.auth.canRedirect()) {
21806
21806
  salla.log('Will not auto redirect or reload, due to `salla.auth.canRedirect()`');
21807
+ this.modal.close();
21807
21808
  return;
21808
21809
  }
21809
21810
  if (event.detail.data.redirect_url) {
@@ -128,6 +128,7 @@ export class SallaLoginModal {
128
128
  }
129
129
  if (!salla.auth.canRedirect()) {
130
130
  salla.log('Will not auto redirect or reload, due to `salla.auth.canRedirect()`');
131
+ this.modal.close();
131
132
  return;
132
133
  }
133
134
  if (event.detail.data.redirect_url) {
@@ -152,6 +152,7 @@ const SallaLoginModal$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
152
152
  }
153
153
  if (!salla.auth.canRedirect()) {
154
154
  salla.log('Will not auto redirect or reload, due to `salla.auth.canRedirect()`');
155
+ this.modal.close();
155
156
  return;
156
157
  }
157
158
  if (event.detail.data.redirect_url) {
@@ -21800,6 +21800,7 @@ const SallaLoginModal = class {
21800
21800
  }
21801
21801
  if (!salla.auth.canRedirect()) {
21802
21802
  salla.log('Will not auto redirect or reload, due to `salla.auth.canRedirect()`');
21803
+ this.modal.close();
21803
21804
  return;
21804
21805
  }
21805
21806
  if (event.detail.data.redirect_url) {