From 6be511ed48ef630113287b4cb88dd344a02dff82 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 26 Mar 2024 10:15:37 -0700 Subject: [PATCH] invite: Use error status for failed invitation attempts. --- web/src/invite.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/invite.ts b/web/src/invite.ts index e5fff040c5..0f0fd7b435 100644 --- a/web/src/invite.ts +++ b/web/src/invite.ts @@ -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"));