From 498294e227baa52c59adecf9c4cfd205061ddf75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Uhl=C3=AD=C5=99?= Date: Wed, 6 Jul 2022 11:27:41 +0200 Subject: [PATCH] fix: don't link to latest release (#477) --- src/pages/info/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/info/index.tsx b/src/pages/info/index.tsx index b0ae7474..f755145a 100644 --- a/src/pages/info/index.tsx +++ b/src/pages/info/index.tsx @@ -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'} @@ -133,6 +134,7 @@ export default function Status(): ReactElement { size="small" variant="outlined" href={latestBeeVersionUrl} + disabled={isLatestBeeVersion} target="_blank" style={{ height: '26px' }} >