@indigina/kendo 2.0.32 → 2.0.33

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.
@@ -10,7 +10,7 @@ import { ButtonsModule } from '@progress/kendo-angular-buttons';
10
10
  import * as i3 from '@progress/kendo-angular-upload';
11
11
  import { UploadsModule } from '@progress/kendo-angular-upload';
12
12
  import * as i2$2 from '@angular/common/http';
13
- import { HttpClientModule, HttpContextToken, HttpClient, HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
13
+ import { HttpClientModule, HttpStatusCode, HttpContextToken, HttpClient, HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
14
14
  import * as i2$1 from '@progress/kendo-angular-inputs';
15
15
  import { InputsModule } from '@progress/kendo-angular-inputs';
16
16
  import * as i3$1 from '@progress/kendo-angular-label';
@@ -1135,7 +1135,7 @@ class HttpService {
1135
1135
  this.appToastrService.showError(`${this.translate.instant('ToastrMessages.ServerError')}${error.error.title}`);
1136
1136
  return of(null);
1137
1137
  }
1138
- if (error.status === HttpCodes.BadRequest) {
1138
+ if (error.status === HttpCodes.BadRequest || error.status === HttpStatusCode.Conflict) {
1139
1139
  this.appToastrService.showError(`${this.translate.instant('ToastrMessages.ValidationError')}${error.error.title}`);
1140
1140
  return throwError(() => error);
1141
1141
  }