}
}
},
- ip: { title: this.translateService.instant('IP'), width: '15%' },
- port: { title: this.translateService.instant('PORT'), width: '15%' },
+ url: { title: this.translateService.instant('URL'), width: '30%' },
Actions: {
name: 'Action', width: '5%', filter: false, sort: false, type: 'custom',
title: this.translateService.instant('ACTIONS'),
identifier: sdn._id,
type: sdn.type,
operationalState: sdn._admin.operationalState,
- ip: sdn.ip,
- port: sdn.port
+ url: sdn.url
};
}
/** Compose new SDN Controller @public */
public composeSDN(): void {
+ // eslint-disable-next-line security/detect-non-literal-fs-filename
const modalRef: NgbModalRef = this.modalService.open(NewSDNControllerComponent, { backdrop: 'static' });
modalRef.result.then((result: MODALCLOSERESPONSEDATA) => {
if (result) {
this.sharedService.callData();
}
- }).catch();
+ }).catch((): void => {
+ // Catch Navigation Error
+ });
}
/**
}
this.dataSource.load(this.sdnData).then((data: {}) => {
this.isLoadingResults = false;
- }).catch();
+ }).catch((): void => {
+ // Catch Navigation Error
+ });
}, (error: ERRORDATA) => {
this.restService.handleError(error, 'get');
this.isLoadingResults = false;
});
}
-
}