@abp/ng.theme.shared 7.3.1 → 7.3.3
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/esm2022/extensions/lib/components/extensible-form/extensible-form-prop.component.mjs +4 -4
- package/esm2022/lib/handlers/error.handler.mjs +5 -10
- package/fesm2022/abp-ng.theme.shared-extensions.mjs +3 -3
- package/fesm2022/abp-ng.theme.shared-extensions.mjs.map +1 -1
- package/fesm2022/abp-ng.theme.shared.mjs +4 -9
- package/fesm2022/abp-ng.theme.shared.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -1879,15 +1879,10 @@ class ErrorHandler {
|
|
|
1879
1879
|
else {
|
|
1880
1880
|
switch (err.status) {
|
|
1881
1881
|
case 401:
|
|
1882
|
-
this.canCreateCustomError(401)
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.title,
|
|
1887
|
-
}, {
|
|
1888
|
-
key: DEFAULT_ERROR_LOCALIZATIONS.defaultError401.details,
|
|
1889
|
-
defaultValue: DEFAULT_ERROR_MESSAGES.defaultError401.details,
|
|
1890
|
-
}).subscribe(() => this.navigateToLogin());
|
|
1882
|
+
if (this.canCreateCustomError(401)) {
|
|
1883
|
+
this.show401Page();
|
|
1884
|
+
}
|
|
1885
|
+
this.navigateToLogin();
|
|
1891
1886
|
break;
|
|
1892
1887
|
case 403:
|
|
1893
1888
|
this.createErrorComponent({
|