public deleteNSInstance(forceAction: boolean): void {
// eslint-disable-next-line security/detect-non-literal-fs-filename
const modalRef: NgbModalRef = this.modalService.open(DeleteComponent, { backdrop: 'static' });
- modalRef.componentInstance.params = { forceDeleteType: forceAction };
+ modalRef.componentInstance.params = {
+ forceDeleteType: forceAction,
+ name: this.value.name,
+ page: 'ns-instance',
+ id: this.instanceID
+ };
modalRef.result.then((result: MODALCLOSERESPONSEDATA): void => {
if (result) {
this.sharedService.callData();