mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 21:14:59 -05:00
fix: author shouldn't appear if its undefined
This commit is contained in:
parent
9abe713134
commit
2e23e9b43f
@ -376,9 +376,12 @@ export function ServerCommandBar() {
|
|||||||
<IconDisplay server={obj} />
|
<IconDisplay server={obj} />
|
||||||
{serverName}
|
{serverName}
|
||||||
</h1>
|
</h1>
|
||||||
<h1 className="text-muted-foreground">
|
{(obj as OnlineServer).author != undefined && (
|
||||||
by {(obj as OnlineServer).author}
|
<h1 className="text-muted-foreground">
|
||||||
</h1>
|
by {(obj as OnlineServer).author}
|
||||||
|
</h1>
|
||||||
|
)}
|
||||||
|
|
||||||
<h2 className="flex items-center text-muted-foreground pt-[15px] pl-1.5">
|
<h2 className="flex items-center text-muted-foreground pt-[15px] pl-1.5">
|
||||||
<span className="relative flex h-[10px] w-[10px]">
|
<span className="relative flex h-[10px] w-[10px]">
|
||||||
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-black dark:bg-[#0cce6b] opacity-75" />
|
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-black dark:bg-[#0cce6b] opacity-75" />
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user