0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-24 22:41:28 -05:00

fix(console): only pending invitations can be resent (#5601)

This commit is contained in:
Charles Zhao 2024-04-01 17:12:05 +08:00 committed by GitHub
parent 77fc940787
commit add78b77a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -182,7 +182,7 @@ function Invitations() {
iconSize="small"
title={<DynamicT forKey="general.more_options" />}
>
{status !== OrganizationInvitationStatus.Accepted && canInviteMember && (
{status === OrganizationInvitationStatus.Pending && canInviteMember && (
<ActionMenuItem
icon={<Invite />}
onClick={async () => {