mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 01:50:39 +09:00
add app version label
This commit is contained in:
parent
bcce5b7ec2
commit
02bf0dd862
5 changed files with 22 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
|||
export type HealthStatus = {
|
||||
status: "ok";
|
||||
version?: string;
|
||||
deploymentMode?: "local_trusted" | "authenticated";
|
||||
deploymentExposure?: "private" | "public";
|
||||
authReady?: boolean;
|
||||
|
|
|
|||
|
|
@ -268,6 +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>
|
||||
<Button variant="ghost" size="icon-sm" className="text-muted-foreground shrink-0" asChild>
|
||||
<Link
|
||||
to="/instance/settings"
|
||||
|
|
@ -318,6 +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>
|
||||
<Button variant="ghost" size="icon-sm" className="text-muted-foreground shrink-0" asChild>
|
||||
<Link
|
||||
to="/instance/settings"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue