hide version until loaded
This commit is contained in:
@@ -268,9 +268,9 @@ export function Layout() {
|
|||||||
<BookOpen className="h-4 w-4 shrink-0" />
|
<BookOpen className="h-4 w-4 shrink-0" />
|
||||||
<span className="truncate">Documentation</span>
|
<span className="truncate">Documentation</span>
|
||||||
</a>
|
</a>
|
||||||
<span className="px-2 text-xs text-muted-foreground shrink-0">
|
{health?.version && (
|
||||||
{health?.version ? `v${health.version}` : "v?.?.?"}
|
<span className="px-2 text-xs text-muted-foreground shrink-0">v{health.version}</span>
|
||||||
</span>
|
)}
|
||||||
<Button variant="ghost" size="icon-sm" className="text-muted-foreground shrink-0" asChild>
|
<Button variant="ghost" size="icon-sm" className="text-muted-foreground shrink-0" asChild>
|
||||||
<Link
|
<Link
|
||||||
to="/instance/settings"
|
to="/instance/settings"
|
||||||
@@ -321,9 +321,9 @@ export function Layout() {
|
|||||||
<BookOpen className="h-4 w-4 shrink-0" />
|
<BookOpen className="h-4 w-4 shrink-0" />
|
||||||
<span className="truncate">Documentation</span>
|
<span className="truncate">Documentation</span>
|
||||||
</a>
|
</a>
|
||||||
<span className="px-2 text-xs text-muted-foreground shrink-0">
|
{health?.version && (
|
||||||
{health?.version ? `v${health.version}` : "v?.?.?"}
|
<span className="px-2 text-xs text-muted-foreground shrink-0">v{health.version}</span>
|
||||||
</span>
|
)}
|
||||||
<Button variant="ghost" size="icon-sm" className="text-muted-foreground shrink-0" asChild>
|
<Button variant="ghost" size="icon-sm" className="text-muted-foreground shrink-0" asChild>
|
||||||
<Link
|
<Link
|
||||||
to="/instance/settings"
|
to="/instance/settings"
|
||||||
|
|||||||
Reference in New Issue
Block a user