Skip to content

Commit 103e8bc

Browse files
committed
Add alert if the mailbox is blocked for spam
1 parent 33fef69 commit 103e8bc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/components/CippCards/CippExchangeInfoCard.jsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
IconButton,
99
Typography,
1010
CircularProgress,
11+
Alert,
1112
} from "@mui/material";
1213
import { PropertyList } from "/src/components/property-list";
1314
import { PropertyListItem } from "/src/components/property-list-item";
@@ -59,6 +60,11 @@ export const CippExchangeInfoCard = (props) => {
5960
</Stack>
6061
}
6162
/>
63+
{exchangeData?.BlockedForSpam ? (
64+
<Alert severity="warning" sx={{ mx: 2, mt: 2, mb: 2 }}>
65+
This mailbox is currently blocked for spam.
66+
</Alert>
67+
) : null}
6268
<Divider />
6369
<PropertyList>
6470
<PropertyListItem

0 commit comments

Comments
 (0)