Feature 11038: Enhancement of Vertical Scale Feature and merge in update API
[osm/NG-UI.git] / src / app / utilities / ns-instances-action / NSInstancesActionComponent.ts
index 61f6d16..74f1518 100644 (file)
@@ -37,7 +37,6 @@ import { ScalingComponent } from 'ScalingComponent';
 import { SharedService, isNullOrUndefined } from 'SharedService';
 import { ShowInfoComponent } from 'ShowInfoComponent';
 import { StartStopRebuildComponent } from 'StartStopRebuildComponent';
-import { VerticalScalingComponent } from 'VerticalScalingComponent';
 import { VmMigrationComponent } from 'VmMigrationComponent';
 import { DF, VDU, VNFD } from 'VNFDModel';
 /**
@@ -349,22 +348,6 @@ export class NSInstancesActionComponent {
     });
   }
 
-  /** To open the vertical Scaling pop-up */
-  public openVerticalScaling(): void {
-    // eslint-disable-next-line security/detect-non-literal-fs-filename
-    const modalRef: NgbModalRef = this.modalService.open(VerticalScalingComponent, { backdrop: 'static' });
-    modalRef.componentInstance.params = {
-      id: this.instanceID
-    };
-    modalRef.result.then((result: MODALCLOSERESPONSEDATA): void => {
-      if (result) {
-        this.sharedService.callData();
-      }
-    }).catch((): void => {
-      // Catch Navigation Error
-    });
-  }
-
   /** Open the Healing pop-up @public */
   public openHealing(): void {
     // eslint-disable-next-line security/detect-non-literal-fs-filename