Skip to content

Commit 71d4c3a

Browse files
committed
fix: nit extra comment and validation
1 parent a2d200b commit 71d4c3a

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/authz-module/components/RoleCard/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ interface RoleCardProps extends CardTitleProps {
2121
const CardTitle = ({ title, userCounter }: CardTitleProps) => (
2222
<div className="d-flex align-items-center">
2323
<span className="mr-4 text-primary">{title}</span>
24-
{userCounter !== null && userCounter !== undefined && (
24+
{userCounter !== null && (
2525
<span className="d-flex align-items-center font-weight-normal">
2626
<Icon src={Person} className="mr-1" />
2727
{userCounter}

src/authz-module/libraries-manager/components/TeamTable.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ const TeamTable = () => {
8080
iconBefore={Edit}
8181
variant="link"
8282
size="sm"
83-
// TODO: update the view with the team member view
8483
onClick={() => navigate(`/authz/libraries/${libraryId}/${row.original.username}`)}
8584
>
8685
{intl.formatMessage(messages['authz.libraries.team.table.edit.action'])}

0 commit comments

Comments
 (0)