Skip to content

Commit

Permalink
Bugfix for showing unallowed actions
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Dec 11, 2024
1 parent 8877f47 commit 9e15dea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/src/tabs/Invitations.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,9 @@ export const Invitations = ({
}

const actionIcons = invitation => {
if (!selectedInvitations[invitation.id].allowed) {
return null;
}
return (
<div className="admin-icons">
{pending && <div onClick={() => doResendInvitationsFromActionLink(invitation, true)}>
Expand Down

0 comments on commit 9e15dea

Please sign in to comment.