Skip to content

Commit

Permalink
fix: hide unknown version (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
reneaaron authored Jul 10, 2024
1 parent f3caa68 commit 4fbbf30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/layouts/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export default function AppLayout() {
className="font-semibold text-xl"
>
<span className="text-xs flex items-center text-muted-foreground">
{info?.version}&nbsp;
{info?.version && <>{info?.version}&nbsp;</>}
{upToDate ? (
<ShieldCheckIcon className="w-4 h-4" />
) : (
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/sirupsen/logrus"
)

var Tag string = "Unknown Version"
var Tag string = ""

type githubRelease struct {
TagName string `json:"tag_name"`
Expand Down

0 comments on commit 4fbbf30

Please sign in to comment.