jett.admin.npmpackage 2.0.16 → 2.0.17

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/dist/index.js CHANGED
@@ -1527,7 +1527,7 @@ var AppSideBar = ({
1527
1527
  if (onLogout) {
1528
1528
  onLogout();
1529
1529
  } else {
1530
- window.dispatchEvent(new Event("logout"));
1530
+ window.location.href = `${window.location.origin}/login/logout`;
1531
1531
  }
1532
1532
  }
1533
1533
  }
package/dist/index.mjs CHANGED
@@ -1494,7 +1494,7 @@ var AppSideBar = ({
1494
1494
  if (onLogout) {
1495
1495
  onLogout();
1496
1496
  } else {
1497
- window.dispatchEvent(new Event("logout"));
1497
+ window.location.href = `${window.location.origin}/login/logout`;
1498
1498
  }
1499
1499
  }
1500
1500
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jett.admin.npmpackage",
3
- "version": "2.0.16",
3
+ "version": "2.0.17",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "exports": {