-
Notifications
You must be signed in to change notification settings - Fork 676
Labels
Description
Current Behavior
When a GitHub team is added as a crate owner, a notification is shown that reads:
An invite has been sent to github:org:team
This appears to originate here:
| this.notifications.success(`An invite has been sent to ${username}`); |
However as noted here:
Lines 463 to 464 in 4bcae01
| /// Note: Teams are always immediately added, so they cannot have a pending | |
| /// invite to cause this error. |
teams are always immediately added.
Expected Behavior
I'd expect the notification message to be different when adding a team, indicating that the team has been added. The message about an invite being sent confused me into thinking I needed to find an email.
Steps To Reproduce
- Go to the settings of a crate
- Enter a team in the Add Owner field and press Save
- Observe notification
Environment
N/A
