diff --git a/app/client/components/app-sidebar.tsx b/app/client/components/app-sidebar.tsx index 813115dc..7796b467 100644 --- a/app/client/components/app-sidebar.tsx +++ b/app/client/components/app-sidebar.tsx @@ -46,10 +46,15 @@ const items = [ export function AppSidebar() { const { state } = useSidebar(); + const displayVersion = APP_VERSION.startsWith("v") || APP_VERSION === "dev" ? APP_VERSION : `v${APP_VERSION}`; + const releaseUrl = + APP_VERSION === "dev" + ? "https://github.com/nicotsx/zerobyte" + : `https://github.com/nicotsx/zerobyte/releases/tag/${displayVersion}`; return ( - + Zerobyte Logo -
- {APP_VERSION} -
+ {displayVersion} +
);