vorteil/direktiv

View on GitHub
ui/src/pages/namespace/Permissions/components/PermissionsHint.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function PermissionsHint has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const PermissionsHint = () => {
  const { data: availablePermissions } = usePermissionKeys();
  const permissionsAvailable = (availablePermissions ?? []).length > 0;
  const { t } = useTranslation();
  return (
Severity: Minor
Found in ui/src/pages/namespace/Permissions/components/PermissionsHint.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status