Show note when no servers.
This commit is contained in:
parent
c96bad4080
commit
293ebc9344
|
@ -19,10 +19,14 @@ export default () => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={'my-10'}>
|
<div className={'my-10'}>
|
||||||
{
|
{servers.length === 0 ?
|
||||||
servers.map(server => (
|
servers.map(server => (
|
||||||
<ServerRow key={server.uuid} server={server} className={'mt-2'}/>
|
<ServerRow key={server.uuid} server={server} className={'mt-2'}/>
|
||||||
))
|
))
|
||||||
|
:
|
||||||
|
<p className={'text-center text-sm text-neutral-400'}>
|
||||||
|
It looks like you have no servers.
|
||||||
|
</p>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue