From 315d284a9dd7c4e5cd4ab818ee22ddf64312262d Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 5 Dec 2024 15:24:35 +0000 Subject: [PATCH] Tidy audit log searching --- .../src/pages/builder/portal/account/auditLogs/index.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/builder/src/pages/builder/portal/account/auditLogs/index.svelte b/packages/builder/src/pages/builder/portal/account/auditLogs/index.svelte index 41254af970..4759f8d8ce 100644 --- a/packages/builder/src/pages/builder/portal/account/auditLogs/index.svelte +++ b/packages/builder/src/pages/builder/portal/account/auditLogs/index.svelte @@ -152,8 +152,8 @@ logsPageInfo.loading() await auditLogs.search({ bookmark: logsPage, - startDate: dateRange[0], - endDate: dateRange[1], + startDate: dateRange[0] || undefined, + endDate: dateRange[1] || undefined, fullSearch: logSearchTerm, userIds: selectedUsers, appIds: selectedApps,