Skip to content

Commit 5908bc4

Browse files
committed
Merge remote-tracking branch 'origin/backlog/adversary-view-with-hierarchical-graph-adversary-alert-echoes' into backlog/adversary-view-with-hierarchical-graph-adversary-alert-echoes
2 parents b564c62 + b2234b4 commit 5908bc4

3 files changed

Lines changed: 2 additions & 7 deletions

File tree

frontend/src/app/data-management/adversary-management/adversary-alerts-graph/adversary-alerts-graph.component.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class AdversaryAlertsGraphComponent implements OnChanges {
2121
}
2222

2323
onChartInit(chart: ECharts) {
24-
// Paso 1: capturar mouseover en nodos
24+
2525
chart.on('mouseover', (params) => {
2626
if (params.dataType === 'node') {
2727
chart.getDom().style.cursor = 'pointer';
@@ -34,11 +34,8 @@ export class AdversaryAlertsGraphComponent implements OnChanges {
3434
}
3535
});
3636

37-
// Extra: capturar click en nodo
3837
chart.on('click', (params) => {
3938
if (params.dataType === 'node') {
40-
console.log('Nodo clicado:', params.data);
41-
// aquí puedes abrir un modal o navegar a detalle
4239
}
4340
});
4441
}

frontend/src/app/data-management/adversary-management/adversary-view/adversary-view.component.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
</div>
3232
<div class="card-body h-100 m-h-0">
3333
<div *ngIf="!loading && isEmptyData()" class="h-100 w-100">
34-
<app-no-data-chart [typeChart]="ChartTypeEnum.METRIC_CHART">
35-
</app-no-data-chart>
34+
<app-no-data-found></app-no-data-found>
3635
</div>
3736
<app-adversary-alerts-graph *ngIf="!loading && adversaryAlerts.length > 0" [data]="adversaryAlerts">
3837
</app-adversary-alerts-graph>

frontend/src/app/data-management/alert-management/alert-management.module.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import {AlertReportFilterComponent} from './alert-reports/shared/components/aler
1919
import {SaveAlertReportComponent} from './alert-reports/shared/components/save-report/save-report.component';
2020
import {AlertViewComponent} from './alert-view/alert-view.component';
2121
import {AlertManagementSharedModule} from './shared/alert-management-shared.module';
22-
import {InfiniteScrollModule} from "ngx-infinite-scroll";
2322

2423
@NgModule({
2524
declarations: [

0 commit comments

Comments
 (0)