Skip to content

Commit c686a10

Browse files
Update frontend/src/app/data-management/alert-management/alert-view/alert-view.component.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 0c2d466 commit c686a10

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

frontend/src/app/data-management/alert-management/alert-view/alert-view.component.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -638,12 +638,13 @@ export class AlertViewComponent implements OnInit, OnDestroy {
638638
}
639639

640640

641-
getChildTimeSeries(childrenAlerts:UtmAlertType[]):TimelineItem[]{
642-
return childrenAlerts.map(cha=>({
643-
startDate:cha['@timestamp'],
644-
name:cha.name,metadata:cha,
645-
iconUrl:'assets/icons/echoes/echoes_default.png'
646-
}))
641+
getChildTimeSeries(childrenAlerts: UtmAlertType[]): TimelineItem[] {
642+
return childrenAlerts.map(cha => ({
643+
startDate: cha['@timestamp'],
644+
name: cha.name,
645+
metadata: cha,
646+
iconUrl: 'assets/icons/echoes/echoes_default.png'
647+
}));
647648
}
648649

649650
}

0 commit comments

Comments
 (0)