mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-29 18:13:47 +00:00
feat: add country filter and risk columns to traffic CSV export
- Add CountryFilter dropdown with flag emoji + node count per country - Country filter merges with node filter for both table and CSV export - Pass total/node GB/day thresholds to backend for risk columns in CSV - CSV now includes Risk Level, Risk Ratio, Risk GB/day when thresholds set
This commit is contained in:
@@ -111,6 +111,8 @@ export const adminTrafficApi = {
|
||||
tariffs?: string;
|
||||
statuses?: string;
|
||||
nodes?: string;
|
||||
total_threshold_gb?: number;
|
||||
node_threshold_gb?: number;
|
||||
}): Promise<ExportCsvResponse> => {
|
||||
const response = await apiClient.post('/cabinet/admin/traffic/export-csv', data);
|
||||
return response.data;
|
||||
|
||||
Reference in New Issue
Block a user