fix: resolve 4 TypeScript compilation errors from CI
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 1m56s
CI / cleanup-branch (pull_request) Has been skipped
CI / build (pull_request) Successful in 1m58s
CI / docker (pull_request) Has been skipped
CI / deploy (pull_request) Has been skipped
CI / deploy-feature (pull_request) Has been skipped
CI / docker (push) Successful in 1m12s
CI / deploy (push) Has been skipped
CI / deploy-feature (push) Successful in 37s

- AuditLogPage: e.details -> e.detail (correct property name)
- AgentInstance: BarChart x: number -> x: String(i) (BarSeries requires string)
- AppsTab: add missing CatalogRoute import
- Dashboard: wrap MonoText in span for title attribute (MonoText lacks title prop)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-09 18:57:42 +02:00
parent 4bc38453fe
commit 191d4f39c1
4 changed files with 6 additions and 7 deletions

View File

@@ -21,7 +21,7 @@ const CATEGORIES = [
function exportCsv(events: AuditEvent[]) {
const headers = ['Timestamp', 'User', 'Category', 'Action', 'Target', 'Result', 'Details'];
const rows = events.map(e => [
e.timestamp, e.username, e.category, e.action, e.target, e.result, e.details ?? '',
e.timestamp, e.username, e.category, e.action, e.target, e.result, e.detail ?? '',
]);
const csv = [headers, ...rows].map(r => r.map(c => `"${String(c).replace(/"/g, '""')}"`).join(',')).join('\n');
const blob = new Blob([csv], { type: 'text/csv' });