monkey-front-core 0.0.591 → 0.0.593

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.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, Input, NgModule, Pipe, ViewEncapsulation, Injectable, InjectionToken, DEFAULT_CURRENCY_CODE, Inject, EventEmitter, Directive, Output, HostBinding, HostListener, forwardRef, Self, Optional, inject, SkipSelf, NgZone, ErrorHandler } from '@angular/core';
2
+ import { Component, Input, NgModule, Pipe, ViewEncapsulation, Injectable, InjectionToken, DEFAULT_CURRENCY_CODE, Inject, EventEmitter, Directive, Output, HostBinding, HostListener, forwardRef, Self, Optional, inject, SkipSelf, ErrorHandler } from '@angular/core';
3
3
  import * as i1 from 'monkey-style-guide';
4
4
  import { MonkeyButtonModule, MonkeyModalModule, MonkeyIconModule, MonkeyInputModule, MonkeyRadioButtonModule, MonkeyOptionModule, MonkeyUtils, MonkeyStyleGuideModule, MonkeyStyleGuideModalService, MonkeyStyleGuideSettingsService, MonkeyStyleGuideSnackbarService } from 'monkey-style-guide';
5
5
  import * as i2 from '@angular/common';
@@ -5315,8 +5315,8 @@ class MonkeyEcxHttpErrorHandlingService extends MonkeyEcxCommonsService {
5315
5315
  handleErrorRefreshToken(error, mkc) {
5316
5316
  const hasToRefresh = this.monkeyecxAuthenticationService.refreshShouldHappen(error);
5317
5317
  if ((error.status === 401 || error.status === 400) && hasToRefresh) {
5318
- NgZone.call(this.monkeyecxAuthenticationService.redirectLoginWelcomeBack(), {});
5319
- this.handleMessage(error, mkc);
5318
+ // NgZone.call(this.monkeyecxAuthenticationService.redirectLoginWelcomeBack(), {});
5319
+ // this.handleMessage(error, mkc);
5320
5320
  }
5321
5321
  else if (!this.isHttpCodeIgnoreMessage(mkc, error.status)) {
5322
5322
  this.handleMessage(error, mkc);