Match front end E2mgr URL paths to back end
[portal/ric-dashboard.git] / webapp-frontend / src / app / anr-xapp / anr-edit-ncr-dialog.component.ts
index 24c4811..2c3f2d0 100644 (file)
@@ -58,13 +58,16 @@ export class AnrEditNcrDialogComponent implements OnInit {
     modifyNcr = (ncrFormValue: ANRNeighborCellRelation) => {
         if (this.ncrDialogForm.valid) {
             const ncrm = {} as ANRNeighborCellRelationMod;
-            // there must be a better way
+            // there must be a better way to build the struct
             ncrm.neighborCellNrcgi = ncrFormValue.neighborCellNrcgi;
             ncrm.neighborCellNrpci = ncrFormValue.neighborCellNrpci;
             ncrm.flagNoHo = ncrFormValue.flagNoHo;
             ncrm.flagNoXn = ncrFormValue.flagNoXn;
             ncrm.flagNoRemove = ncrFormValue.flagNoRemove;
-            this.dataService.modifyNcr(ncrFormValue.servingCellNrcgi, ncrFormValue.neighborCellNrpci, ncrm).subscribe((val: any[]) => { },
+            this.dataService.modifyNcr(ncrFormValue.servingCellNrcgi, ncrFormValue.neighborCellNrpci, ncrm).subscribe(
+                (val: any[]) => {
+                    // Success
+                },
                 (error => {
                     this.errorService.displayError('NCR update failed: ' + error.message);
                 })