hotfix: all 7 TypeScript errors fixed — NoAccessPage export + ABACRuleEditor size + ShareDialog icon types
This commit is contained in:
@@ -33,7 +33,7 @@ interface ShareDialogProps {
|
||||
onClose: () => void;
|
||||
}
|
||||
|
||||
const PERM_LEVELS: { value: PermissionLevel; label: string; icon: React.ComponentType<{ className?: string; strokeWidth?: number }>; desc: string }[] = [
|
||||
const PERM_LEVELS: { value: PermissionLevel; label: string; icon: React.ComponentType<{ className?: string; strokeWidth?: number }> | any; desc: string }[] = [
|
||||
{ value: 'read', label: 'Lesen', icon: Eye, desc: 'Inhalt ansehen' },
|
||||
{ value: 'write', label: 'Schreiben', icon: Pencil, desc: 'Inhalt bearbeiten, neue hinzufügen' },
|
||||
{ value: 'admin', label: 'Admin', icon: Shield, desc: 'Bearbeiten + Löschen + Rechte verwalten' },
|
||||
|
||||
Reference in New Issue
Block a user