logic error

This commit is contained in:
Nicholas Orlowsky 2022-12-05 00:23:30 +00:00
parent 2b4a0fdef6
commit a216145ed2

View file

@ -82,7 +82,7 @@ export default function StatusPage() {
<IncidentCard incident={e}/>
);
})}
{(incidents !== null || 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>