Join Group Button on Group Pages

The button changes to ‘Leave’ if you’re already a member of the group, if that helps you out at all? (assuming you also have ‘Allow users to leave the group freely’ set. If not, the join button isn’t present if you are already a member of the group)