'use client' import type { Namespace } from '../types' import { ISOLATION_COLORS, DATA_CLASSIFICATION_COLORS } from '../types' interface NamespacesTableProps { namespaces: Namespace[] onEdit: (n: Namespace) => void } export function NamespacesTable({ namespaces, onEdit }: NamespacesTableProps) { if (namespaces.length === 0) { return (

Keine Namespaces vorhanden. Waehlen Sie zuerst einen Mandanten.

) } return ( {namespaces.map(ns => ( ))}
Name Slug Isolation Klassifizierung Aktionen
{ns.name} {ns.slug} {ns.isolation_level} {ns.data_classification}
) }