monkey-front-core 0.0.588 → 0.0.589
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 +4 -2
- package/fesm2015/monkey-front-core.mjs +3 -1
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +3 -1
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.589.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.588.tgz +0 -0
|
@@ -5228,13 +5228,15 @@ class MonkeyEcxHttpErrorHandlingService extends MonkeyEcxCommonsService {
|
|
|
5228
5228
|
showMessage(message, error, mkc) {
|
|
5229
5229
|
const { snackbarService } = this;
|
|
5230
5230
|
if (!this.isHttpCodeIgnoreMessage(mkc, error.status)) {
|
|
5231
|
+
const keepOnUrlChange = error.status === 401;
|
|
5231
5232
|
snackbarService.show({
|
|
5232
5233
|
title: this.__i18n?.TITLE,
|
|
5233
5234
|
message,
|
|
5234
5235
|
type: this.getMessageType(error.status),
|
|
5235
5236
|
duration: 4000,
|
|
5236
5237
|
horizontalPosition: 'center',
|
|
5237
|
-
verticalPosition: 'top'
|
|
5238
|
+
verticalPosition: 'top',
|
|
5239
|
+
keepOnUrlChange
|
|
5238
5240
|
});
|
|
5239
5241
|
}
|
|
5240
5242
|
}
|