Initial loading message
This commit is contained in:
parent
53190fddf5
commit
4d7a0ce821
1 changed files with 7 additions and 0 deletions
|
@ -27,6 +27,13 @@ export default function Home() {
|
||||||
return (
|
return (
|
||||||
<Box className="home">
|
<Box className="home">
|
||||||
<Overview clusterMetrics={clusterMetrics} />
|
<Overview clusterMetrics={clusterMetrics} />
|
||||||
|
{isLoading && (
|
||||||
|
<Box display="flex" alignItems="center" justifyContent="center">
|
||||||
|
<Typography variant="h4" sx={{ textAlign: "center" }}>
|
||||||
|
Loading Server Information...
|
||||||
|
</Typography>
|
||||||
|
</Box>
|
||||||
|
)}
|
||||||
{!isLoading && servers.length === 0 && (
|
{!isLoading && servers.length === 0 && (
|
||||||
<Box display="flex" alignItems="center" justifyContent="center">
|
<Box display="flex" alignItems="center" justifyContent="center">
|
||||||
<Typography variant="h4" sx={{ textAlign: "center" }}>
|
<Typography variant="h4" sx={{ textAlign: "center" }}>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue