Skip to content

Commit

Permalink
fix: don't link to latest release (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
AuHau authored Jul 6, 2022
1 parent c8efa85 commit 498294e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/info/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ export default function Status(): ReactElement {
variant="outlined"
href={BEE_DESKTOP_LATEST_RELEASE_PAGE}
target="_blank"
disabled={newBeeDesktopVersion === ''}
style={{ height: '26px' }}
>
{newBeeDesktopVersion === '' ? 'latest' : 'update'}
Expand All @@ -133,6 +134,7 @@ export default function Status(): ReactElement {
size="small"
variant="outlined"
href={latestBeeVersionUrl}
disabled={isLatestBeeVersion}
target="_blank"
style={{ height: '26px' }}
>
Expand Down

0 comments on commit 498294e

Please sign in to comment.