mirror of
https://github.com/System-End/site.git
synced 2026-04-19 22:05:11 +00:00
Add no results message
This commit is contained in:
parent
89255f623e
commit
6ad94c7054
1 changed files with 18 additions and 0 deletions
|
|
@ -1026,6 +1026,24 @@ export default function ClimatePage({ rawOrganizations, pageRegion }) {
|
|||
mobile
|
||||
/>
|
||||
</Box>
|
||||
{organizations.length === 0 && (
|
||||
<Box sx={{
|
||||
textAlign: 'center',
|
||||
p: 5
|
||||
}}>
|
||||
<Box>
|
||||
<Text variant="headline" sx={{
|
||||
textTransform: 'unset',
|
||||
display: 'block',
|
||||
mb: 0
|
||||
}}>No results</Text>
|
||||
<Text variant="lead" sx={{
|
||||
display: 'block',
|
||||
mt: 0
|
||||
}}>Try adjusting your filters.</Text>
|
||||
</Box>
|
||||
</Box>
|
||||
)}
|
||||
<Grid columns={[1, 2, 3]} gap={[3, 4]} sx={{ mt: 3 }}>
|
||||
{organizations
|
||||
.map(org => new Organization(org))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue