X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=webapp-frontend%2Fsrc%2Fapp%2Fanr-xapp%2Fanr-xapp.component.ts;fp=webapp-frontend%2Fsrc%2Fapp%2Fanr-xapp%2Fanr-xapp.component.ts;h=652c955e5b3cce22f420e03922a02198e7a6767e;hb=fa50e55b6e8977ad0a6a28096fe58fb54924ca2b;hp=ba240714687b860012971cdff3ca38b1721f97db;hpb=4d3a7c62ddcab6abc5ca45e6cabc90258025a768;p=portal%2Fric-dashboard.git diff --git a/webapp-frontend/src/app/anr-xapp/anr-xapp.component.ts b/webapp-frontend/src/app/anr-xapp/anr-xapp.component.ts index ba240714..652c955e 100644 --- a/webapp-frontend/src/app/anr-xapp/anr-xapp.component.ts +++ b/webapp-frontend/src/app/anr-xapp/anr-xapp.component.ts @@ -19,6 +19,7 @@ */ import { AfterViewInit, Component, ElementRef, OnInit, ViewChild } from '@angular/core'; +import { HttpResponse } from '@angular/common/http'; import { MatSort } from '@angular/material'; import { MatDialog } from '@angular/material/dialog'; import { fromEvent } from 'rxjs/observable/fromEvent'; @@ -108,7 +109,7 @@ export class AnrXappComponent implements AfterViewInit, OnInit { if (res) { this.anrXappService.deleteNcr(ncr.servingCellNrcgi, ncr.neighborCellNrpci) .subscribe( - response => { + (response: HttpResponse) => { switch (response.status) { case 200: this.notificationService.success('Delete succeeded!');