hide version until loaded
This commit is contained in:
parent
02bf0dd862
commit
8abfe894e3
1 changed files with 6 additions and 6 deletions
|
|
@ -268,9 +268,9 @@ export function Layout() {
|
|||
<BookOpen className="h-4 w-4 shrink-0" />
|
||||
<span className="truncate">Documentation</span>
|
||||
</a>
|
||||
<span className="px-2 text-xs text-muted-foreground shrink-0">
|
||||
{health?.version ? `v${health.version}` : "v?.?.?"}
|
||||
</span>
|
||||
{health?.version && (
|
||||
<span className="px-2 text-xs text-muted-foreground shrink-0">v{health.version}</span>
|
||||
)}
|
||||
<Button variant="ghost" size="icon-sm" className="text-muted-foreground shrink-0" asChild>
|
||||
<Link
|
||||
to="/instance/settings"
|
||||
|
|
@ -321,9 +321,9 @@ export function Layout() {
|
|||
<BookOpen className="h-4 w-4 shrink-0" />
|
||||
<span className="truncate">Documentation</span>
|
||||
</a>
|
||||
<span className="px-2 text-xs text-muted-foreground shrink-0">
|
||||
{health?.version ? `v${health.version}` : "v?.?.?"}
|
||||
</span>
|
||||
{health?.version && (
|
||||
<span className="px-2 text-xs text-muted-foreground shrink-0">v{health.version}</span>
|
||||
)}
|
||||
<Button variant="ghost" size="icon-sm" className="text-muted-foreground shrink-0" asChild>
|
||||
<Link
|
||||
to="/instance/settings"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue