Update StatusPage.tsx
This commit is contained in:
parent
10f347ea0c
commit
6d728613e8
|
@ -77,12 +77,12 @@ export default function StatusPage() {
|
|||
|
||||
<div>
|
||||
<h3>Service Alerts</h3>
|
||||
{incidents.map((e) => {
|
||||
{incidents !== null && incidents.map((e) => {
|
||||
return (
|
||||
<IncidentCard incident={e}/>
|
||||
);
|
||||
})}
|
||||
{incidents.length == 0 &&
|
||||
{(incidents !== null || incidents.length == 0) &&
|
||||
<div className={`row text-center`} style={{width: '75vw'}}>
|
||||
<h5 className={"col-12"}>No service alerts.</h5>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue