monkey-front-core 0.0.596 → 0.0.597
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/esm2020/lib/core/services/error/monkeyecx-http-error-handling.service.mjs +3 -3
- package/fesm2015/monkey-front-core.mjs +2 -2
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +2 -2
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.597.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.596.tgz +0 -0
|
@@ -5325,11 +5325,11 @@ class MonkeyEcxHttpErrorHandlingService extends MonkeyEcxCommonsService {
|
|
|
5325
5325
|
console.log(hasToRefresh);
|
|
5326
5326
|
if ((error.status === 401 || error.status === 400) && hasToRefresh) {
|
|
5327
5327
|
console.log('==========1');
|
|
5328
|
-
NgZone.call(this.monkeyecxAuthenticationService.redirectLoginWelcomeBack(), {});
|
|
5329
|
-
console.log('==========2');
|
|
5330
5328
|
setTimeout(() => {
|
|
5331
5329
|
this.handleMessage(error, mkc);
|
|
5332
5330
|
}, 1200);
|
|
5331
|
+
console.log('==========2');
|
|
5332
|
+
NgZone.call(this.monkeyecxAuthenticationService.redirectLoginWelcomeBack(), {});
|
|
5333
5333
|
console.log('==========3');
|
|
5334
5334
|
}
|
|
5335
5335
|
else if (!this.isHttpCodeIgnoreMessage(mkc, error.status)) {
|