Loading src/app/p_services/admin/serviceActivationAndConfiguration/execute-mano-service-primitive/execute-mano-service-primitive.component.ts +1 −1 Original line number Diff line number Diff line Loading @@ -76,7 +76,7 @@ export class ExecuteManoServicePrimitiveComponent implements OnInit { this.serviceService.patchService({service: serviceUpdate, id: this.data.serviceToBeUpdated.id}).subscribe( data => { }, error => { console.error(error); this.dialogRef.close(error)}, () => { this.dialogRef.close('updated') } () => { this.dialogRef.close("updated") } ) } } src/app/p_services/admin/serviceActivationAndConfiguration/preview-service/preview-service.component.ts +5 −3 Original line number Diff line number Diff line Loading @@ -100,7 +100,6 @@ export class PreviewServiceComponent implements OnInit { this.serviceService.retrieveService({id: this.serviceID}).subscribe( data => { this.service = data // this.service = dummyService }, error => { console.error(error) Loading Loading @@ -303,10 +302,13 @@ export class PreviewServiceComponent implements OnInit { if (result instanceof HttpErrorResponse) { this.toast.error("An error occurred while attempting to queue the service primitive for execution") } else { // check if something is returned from the dialog (updated service object) or the dialog is cancelled if (result) { this.toast.success("The service primitive was successfully queued for execution. Please check NSLCM for updates.") this.retrieveService() } } } ) } Loading Loading
src/app/p_services/admin/serviceActivationAndConfiguration/execute-mano-service-primitive/execute-mano-service-primitive.component.ts +1 −1 Original line number Diff line number Diff line Loading @@ -76,7 +76,7 @@ export class ExecuteManoServicePrimitiveComponent implements OnInit { this.serviceService.patchService({service: serviceUpdate, id: this.data.serviceToBeUpdated.id}).subscribe( data => { }, error => { console.error(error); this.dialogRef.close(error)}, () => { this.dialogRef.close('updated') } () => { this.dialogRef.close("updated") } ) } }
src/app/p_services/admin/serviceActivationAndConfiguration/preview-service/preview-service.component.ts +5 −3 Original line number Diff line number Diff line Loading @@ -100,7 +100,6 @@ export class PreviewServiceComponent implements OnInit { this.serviceService.retrieveService({id: this.serviceID}).subscribe( data => { this.service = data // this.service = dummyService }, error => { console.error(error) Loading Loading @@ -303,10 +302,13 @@ export class PreviewServiceComponent implements OnInit { if (result instanceof HttpErrorResponse) { this.toast.error("An error occurred while attempting to queue the service primitive for execution") } else { // check if something is returned from the dialog (updated service object) or the dialog is cancelled if (result) { this.toast.success("The service primitive was successfully queued for execution. Please check NSLCM for updates.") this.retrieveService() } } } ) } Loading