src/frontend/packages/cloud-foundry/src/features/applications/application-monitor.service.ts
Function constructor
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor(
private applicationService: ApplicationService,
) {
// Do we need share()? Or should this be on the app stats observable?
this.appMonitor$ = this.applicationService.appStats$.pipe(map(stats => {
Function appMonitor$
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.appMonitor$ = this.applicationService.appStats$.pipe(map(stats => {
const res = new AppMonitorState();
if (!stats) {
return res;
}