mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
fix: hide unknown version (#233)
This commit is contained in:
parent
f3caa68eec
commit
4fbbf30bd0
2 changed files with 2 additions and 2 deletions
|
|
@ -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}
|
||||
{info?.version && <>{info?.version} </>}
|
||||
{upToDate ? (
|
||||
<ShieldCheckIcon className="w-4 h-4" />
|
||||
) : (
|
||||
|
|
|
|||
|
|
@ -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"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue