Team and billing pages name their team, invites match reality, you can leave a team
The Team and Billing pages now say which team they show, stale invites for people who already joined are gone, invites need a valid email, and members can leave a team.
What's new
The Team and Billing pages name the team they show; with All Teams selected they say so and point to the header menu.
A pending invite no longer lingers for someone who is already a member, and Re-invite and Cancel invite only appear for roles allowed to invite.
Cancelling a team-name edit puts the saved name back. The invite form checks the email address before it enables Send Invite.
Members who are not owners can leave a team from the Team page; owners transfer ownership first.
The rename note on the Team page now matches the role permissions table, and the icon buttons have labels for screen readers.