diff --git a/frontend/src/ts/elements/alerts.ts b/frontend/src/ts/elements/alerts.ts index 1d131d903..402538058 100644 --- a/frontend/src/ts/elements/alerts.ts +++ b/frontend/src/ts/elements/alerts.ts @@ -145,7 +145,14 @@ async function getAccountAlerts(): Promise { $("#alertsPopup .accountAlerts .list").empty(); - if (inboxResponse.status !== 200) { + if (inboxResponse.status === 503) { + $("#alertsPopup .accountAlerts .list").html(` +
+ Account inboxes are temporarily unavailable. +
+ `); + return; + } else if (inboxResponse.status !== 200) { $("#alertsPopup .accountAlerts .list").html(`
Error getting inbox: ${inboxResponse.message} Please try again later.