@salla.sa/twilight-components 1.4.17 → 1.4.18

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.
@@ -1601,6 +1601,7 @@ const SallaScopees = class {
1601
1601
  .then(() => {
1602
1602
  salla.storage.set("branch-choosed-before", true);
1603
1603
  salla.storage.set("scope", this.current_scope.id);
1604
+ window.location.search += "&scope=" + this.current_scope.id;
1604
1605
  }).catch(e => console.log(e))
1605
1606
  .finally(() => {
1606
1607
  this.changeBtn.stop();
@@ -74,6 +74,7 @@ export class SallaScopees {
74
74
  .then(() => {
75
75
  salla.storage.set("branch-choosed-before", true);
76
76
  salla.storage.set("scope", this.current_scope.id);
77
+ window.location.search += "&scope=" + this.current_scope.id;
77
78
  }).catch(e => console.log(e))
78
79
  .finally(() => {
79
80
  this.changeBtn.stop();
@@ -101,6 +101,7 @@ const SallaScopees = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
101
101
  .then(() => {
102
102
  salla.storage.set("branch-choosed-before", true);
103
103
  salla.storage.set("scope", this.current_scope.id);
104
+ window.location.search += "&scope=" + this.current_scope.id;
104
105
  }).catch(e => console.log(e))
105
106
  .finally(() => {
106
107
  this.changeBtn.stop();
@@ -1597,6 +1597,7 @@ const SallaScopees = class {
1597
1597
  .then(() => {
1598
1598
  salla.storage.set("branch-choosed-before", true);
1599
1599
  salla.storage.set("scope", this.current_scope.id);
1600
+ window.location.search += "&scope=" + this.current_scope.id;
1600
1601
  }).catch(e => console.log(e))
1601
1602
  .finally(() => {
1602
1603
  this.changeBtn.stop();