2024-09-09 10:29:41 +02:00
|
|
|
<script lang="ts">
|
|
|
|
|
import * as Card from '$lib/components/ui/card';
|
|
|
|
|
import AuditLogList from './audit-log-list.svelte';
|
|
|
|
|
|
|
|
|
|
let { data } = $props();
|
2025-03-10 12:37:16 +01:00
|
|
|
let { auditLogs } = data;
|
|
|
|
|
let auditLogsRequestOptions = $state(data.auditLogsRequestOptions);
|
2024-09-09 10:29:41 +02:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<svelte:head>
|
|
|
|
|
<title>Audit Log</title>
|
|
|
|
|
</svelte:head>
|
|
|
|
|
|
|
|
|
|
<Card.Root>
|
|
|
|
|
<Card.Header>
|
|
|
|
|
<Card.Title>Audit Log</Card.Title>
|
2025-01-19 15:41:16 +01:00
|
|
|
<Card.Description class="mt-1"
|
|
|
|
|
>See your account activities from the last 3 months.</Card.Description
|
|
|
|
|
>
|
2024-09-09 10:29:41 +02:00
|
|
|
</Card.Header>
|
|
|
|
|
<Card.Content>
|
2025-03-10 12:37:16 +01:00
|
|
|
<AuditLogList auditLogs={data.auditLogs} requestOptions={auditLogsRequestOptions} />
|
2024-09-09 10:29:41 +02:00
|
|
|
</Card.Content>
|
|
|
|
|
</Card.Root>
|