/** ApplicationsTab — read-only Authentik application directory. */ import { Alert, AlertDescription } from "@/components/ui/alert"; import { Skeleton } from "@/components/ui/skeleton"; import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from "@/components/ui/table"; import { useAuthentikApplications } from "../../hooks/useAuthentik"; import type { ServiceInstance } from "../../types"; export function ApplicationsTab({ instance }: { instance: ServiceInstance }) { const { data, isLoading } = useAuthentikApplications(instance.id); const applications = data?.items ?? []; return (
Showing the first {applications.length} of {data.total} applications.
) : null}