ps-toolkit-ui 0.0.81 → 0.0.82

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.
@@ -2005,7 +2005,7 @@
2005
2005
  this.logout = new InputClass(config.environment, l, 'Logout', null, exports.InputType.Button, 'grey h-30');
2006
2006
  this.logout.onClick = function () {
2007
2007
  HelperClass.eraseCookie('Authorization');
2008
- location.href = '';
2008
+ window.location.reload();
2009
2009
  };
2010
2010
  }
2011
2011
  return HeaderComponent;
@@ -5958,11 +5958,11 @@
5958
5958
  function NotfoundComponent(config) {
5959
5959
  this.config = config;
5960
5960
  var lang = new LangClass(config.currentLang, config.strings);
5961
- var l = function (key, v) {
5961
+ this.l = function (key, v) {
5962
5962
  if (v === void 0) { v = null; }
5963
5963
  return lang.get('Public', 'Notfound', key, v);
5964
5964
  };
5965
- this.back = new InputClass(config.environment, l, 'Back', 'fad fa-arrow-right', exports.InputType.Button, '');
5965
+ this.back = new InputClass(config.environment, this.l, 'Back', 'fad fa-arrow-right', exports.InputType.Button, '');
5966
5966
  this.back.onClick = function () {
5967
5967
  window.history.back();
5968
5968
  };