Upgrade to E2 API with disconnect-all method
[portal/ric-dashboard.git] / webapp-frontend / src / app / ran-connection / ran-connection.component.ts
index 932bca6..ac77c37 100644 (file)
@@ -63,7 +63,7 @@ export class RANConnectionComponent implements OnInit {
     this.confirmDialogService.openConfirmDialog('Are you sure you want to disconnect all RAN connections?')
       .afterClosed().subscribe(res => {
         if (res) {
-          this.e2MgrSvc.disconnectAllRAN().subscribe(
+          this.e2MgrSvc.nodebDelete().subscribe(
             response => {
               if (response.status === 200) {
                 this.notification.success('Disconnect all RAN Connections Succeeded!');