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.
- package/bundles/ps-toolkit-ui.umd.js +3 -3
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/header/header.component.js +2 -2
- package/esm2015/lib/components/notfound/notfound.component.js +3 -3
- package/fesm2015/ps-toolkit-ui.js +3 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/components/notfound/notfound.component.d.ts +1 -0
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -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.
|
|
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
|
-
|
|
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
|
};
|