We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dae7186 commit 9ef86c2Copy full SHA for 9ef86c2
1 file changed
src/authz-module/components/RoleCard/index.tsx
@@ -18,7 +18,7 @@ interface RoleCardProps extends CardTitleProps {
18
permissions: any[];
19
}
20
21
-const CardTitle = ({ title, userCounter }: CardTitleProps) => (
+const CardTitle = ({ title, userCounter = null }: CardTitleProps) => (
22
<div className="d-flex align-items-center">
23
<span className="mr-4 text-primary">{title}</span>
24
{userCounter !== null && (
0 commit comments