From f593b39e1be421f6a247baac063530b9d26b9f96 Mon Sep 17 00:00:00 2001 From: Peter Clement Date: Thu, 23 Feb 2023 13:49:44 +0000 Subject: [PATCH] default start and end date --- .../src/pages/builder/portal/account/auditLogs/index.svelte | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 b4daec9bd5..f5b4ee90be 100644 --- a/packages/builder/src/pages/builder/portal/account/auditLogs/index.svelte +++ b/packages/builder/src/pages/builder/portal/account/auditLogs/index.svelte @@ -68,7 +68,10 @@ let selectedLog let sidePanelVisible = false let wideSidePanel = false - let startDate, endDate + + let startDate = new Date() + startDate.setDate(startDate.getDate() - 30) + let endDate = new Date() $: fetchUsers(userPage, userSearchTerm) $: fetchLogs({ @@ -266,6 +269,7 @@
{