Skip to content

Commit 61c68de

Browse files
committed
fix: improve CSV export limit parameters
1 parent 5513508 commit 61c68de

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/src/app/data-management/alert-management/alert-reports/shared/components/save-report/save-report.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<!-- </button>-->
2424
<button (click)="exportToCsv()"
2525
class="btn utm-button utm-button-primary">
26-
<i [ngClass]="generateReport?'icon-download10':'icon-table2'" class="mr-1"></i>
26+
<i [ngClass]="generateReport?'icon-spinner2 spinner':'icon-table2'" class="mr-1"></i>
2727
{{generateReport ? 'Generating...' : 'Export to CSV'}}
2828
</button>
2929
</div>

frontend/src/app/data-management/alert-management/alert-reports/shared/components/save-report/save-report.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export class SaveAlertReportComponent implements OnInit {
7676
columns: this.fields,
7777
indexPattern: ALERT_INDEX_PATTERN,
7878
filters: this.filters,
79-
top: LOG_ANALYZER_TOTAL_ITEMS
79+
top: this.limit
8080
};
8181
this.elasticDataExportService.exportCsv(params, 'UTM ALERTS').then(() => {
8282
this.generateReport = false;

0 commit comments

Comments
 (0)