X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Fservices%2FRestService.ts;h=d3d9ea0d26ec1edf81e3a1a4305c4fdc10044092;hb=refs%2Fheads%2Fmaster;hp=5f47fb19d268cf291de9766e46f19c7a2c75c642;hpb=c84f1123f8ba69f9e2211b2d816bb415e595efaa;p=osm%2FNG-UI.git diff --git a/src/services/RestService.ts b/src/services/RestService.ts index 5f47fb1..e333627 100644 --- a/src/services/RestService.ts +++ b/src/services/RestService.ts @@ -157,6 +157,9 @@ export class RestService { } else if (err.error.status === HttpStatus.CONFLICT) { this.notifierService.notify('error', err.error.detail !== undefined ? err.error.detail : this.translateService.instant('HTTPERROR.409')); + if (sessionStorage.getItem('usertype') !== 'change_password') { + this.activeModal.dismissAll(); + } this.activeModal.dismissAll(); } else if (err.error.status === HttpStatus.INTERNAL_SERVER_ERROR) { this.notifierService.notify('error', err.error.detail !== undefined ?