From 9e15dea7c57fa00c199d7d2a7b1e6b98fd61e63c Mon Sep 17 00:00:00 2001 From: Okke Harsta Date: Wed, 11 Dec 2024 10:02:21 +0100 Subject: [PATCH] Bugfix for showing unallowed actions --- client/src/tabs/Invitations.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/tabs/Invitations.js b/client/src/tabs/Invitations.js index f48557d..e4c66a2 100644 --- a/client/src/tabs/Invitations.js +++ b/client/src/tabs/Invitations.js @@ -267,6 +267,9 @@ export const Invitations = ({ } const actionIcons = invitation => { + if (!selectedInvitations[invitation.id].allowed) { + return null; + } return (
{pending &&
doResendInvitationsFromActionLink(invitation, true)}>