feat: add various improvements to the table component (#961)

Co-authored-by: Kyle Mendell <kmendell@ofkm.us>
This commit is contained in:
Elias Schneider
2025-10-13 11:12:55 +02:00
committed by GitHub
parent 24ca6a106d
commit c20e93b55c
76 changed files with 1948 additions and 1434 deletions

View File

@@ -5,9 +5,6 @@
import userStore from '$lib/stores/user-store';
import { LogsIcon } from '@lucide/svelte';
import AuditLogSwitcher from './audit-log-switcher.svelte';
let { data } = $props();
let auditLogsRequestOptions = $state(data.auditLogsRequestOptions);
</script>
<svelte:head>
@@ -19,7 +16,7 @@
{/if}
<div>
<Card.Root>
<Card.Root class="gap-0">
<Card.Header>
<Card.Title>
<LogsIcon class="text-primary/80 size-5" />
@@ -28,7 +25,7 @@
<Card.Description>{m.see_your_account_activities_from_the_last_3_months()}</Card.Description>
</Card.Header>
<Card.Content>
<AuditLogList auditLogs={data.auditLogs} requestOptions={auditLogsRequestOptions} />
<AuditLogList />
</Card.Content>
</Card.Root>
</div>