fix(update-server): display release tag conditionally in server version info

- Updated the server version display to conditionally show the release tag when it is either "canary" or "feature", enhancing clarity for users.
This commit is contained in:
Mauricio Siu
2026-02-10 18:40:53 -06:00
parent 1779a8a950
commit 3a3f3ab7d4

View File

@@ -135,7 +135,9 @@ export const UpdateServer = ({
<div className="flex items-center gap-1.5 rounded-full px-3 py-1 mr-2 bg-muted">
<Server className="h-4 w-4 text-muted-foreground" />
<span className="text-sm text-muted-foreground">
{dokployVersion} | {releaseTag}
{dokployVersion}{" "}
{(releaseTag === "canary" || releaseTag === "feature") &&
`(${releaseTag})`}
</span>
</div>
)}