Tidy audit log searching

This commit is contained in:
Andrew Kingston 2024-12-05 15:24:35 +00:00
parent 42c3a54104
commit 315d284a9d
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -152,8 +152,8 @@
logsPageInfo.loading() logsPageInfo.loading()
await auditLogs.search({ await auditLogs.search({
bookmark: logsPage, bookmark: logsPage,
startDate: dateRange[0], startDate: dateRange[0] || undefined,
endDate: dateRange[1], endDate: dateRange[1] || undefined,
fullSearch: logSearchTerm, fullSearch: logSearchTerm,
userIds: selectedUsers, userIds: selectedUsers,
appIds: selectedApps, appIds: selectedApps,