mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-07 01:47:47 +08:00
Fix usage records filtering and pool trace display
This commit is contained in:
@@ -37,6 +37,7 @@ export interface FilterParams {
|
||||
api_format?: string
|
||||
status?: string
|
||||
client_family?: string
|
||||
hideUnknownRecords?: boolean
|
||||
}
|
||||
|
||||
export function useUsageData(options: UseUsageDataOptions) {
|
||||
@@ -361,6 +362,9 @@ export function useUsageData(options: UseUsageDataOptions) {
|
||||
if (filters?.client_family) {
|
||||
params.client_family = filters.client_family
|
||||
}
|
||||
if (filters?.hideUnknownRecords) {
|
||||
params.hide_unknown = true
|
||||
}
|
||||
|
||||
const response = await usageApi.getAllUsageRecords(params)
|
||||
if (requestId !== loadRecordsRequestId) {
|
||||
|
||||
Reference in New Issue
Block a user