complete new audit system

This commit is contained in:
2026-03-21 18:23:54 +01:00
parent 4f359df161
commit 219e1930f7
159 changed files with 2841 additions and 736 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ import { useState } from 'react';
import { useParams } from 'react-router-dom';
import { useQuery, useMutation, useQueryClient } from '@tanstack/react-query';
import { publicApi } from '../../services/api';
import { formatDate } from '../../utils/dateFormat';
import { Shield, CheckCircle2, FileDown, Loader2 } from 'lucide-react';
export default function ConsentPage() {
@@ -108,7 +109,7 @@ export default function ConsentPage() {
<span>{c.label}</span>
{c.grantedAt && (
<span className="text-green-500">
(am {new Date(c.grantedAt).toLocaleDateString('de-DE')})
(am {formatDate(c.grantedAt)})
</span>
)}
</div>