fix: hide unknown version (#233)

This commit is contained in:
René Aaron 2024-07-10 07:21:15 +02:00 committed by GitHub
parent f3caa68eec
commit 4fbbf30bd0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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" />
) : (

View file

@ -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"`