Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSO: Add invite user button option #88369

Merged
merged 13 commits into from
Mar 14, 2024
5 changes: 0 additions & 5 deletions client/my-sites/people/invite-status/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,11 @@ const InviteStatus = ( {
handleDelete,
resendSuccess,
requestingResend,
inviteWasDeleted,
deletingInvite,
} ) => {
const translate = useTranslate();
const { isPending } = invite;

if ( invite && inviteWasDeleted ) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @agrullon95 To keep the pending list up to date, I had to remove this logic added by you in #86927. Could you please help me to test and make sure it is still working well?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't recall why I added that there, but I didn't notice any issues with invitations/revokes when testing.

return null;
}

return (
<div
className={ classNames( 'people-list-item__invite-status', {
Expand Down
3 changes: 1 addition & 2 deletions client/my-sites/people/people-invite-details/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,13 @@ export class PeopleInviteDetails extends PureComponent {
requesting,
invite,
translate,
deleteSuccess,
requestingResend,
resendSuccess,
inviteWasDeleted,
deletingInvite,
} = this.props;

if ( ! site || ! site.ID || deleteSuccess ) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@agrullon95 same here

if ( ! site || ! site.ID ) {
return this.renderPlaceholder();
}

Expand Down
165 changes: 0 additions & 165 deletions client/my-sites/people/people-list-item/index.jsx

This file was deleted.

Loading
Loading