invite: Use error status for failed invitation attempts.

This commit is contained in:
Tim Abbott 2024-03-26 10:15:37 -07:00
parent 8a7f61fcad
commit 6be511ed48
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ function submit_invitation_form(): void {
has_billing_access: current_user.is_owner || current_user.is_billing_admin,
daily_limit_reached: response_body.daily_limit_reached,
});
ui_report.message(error_response, $invite_status, "alert-warning");
ui_report.message(error_response, $invite_status, "alert-error");
if (response_body.sent_invitations) {
$invitee_emails.val(invitee_emails_errored.join("\n"));