diff --git a/interface/src/app/settings/Version.tsx b/interface/src/app/settings/Version.tsx index 600f7e9de..f54e03dd4 100644 --- a/interface/src/app/settings/Version.tsx +++ b/interface/src/app/settings/Version.tsx @@ -183,10 +183,6 @@ const Version = () => { }; const showButtons = () => { - if (!upgradeAvailable) { - return; - } - if (downloadOnly) { return ( ); }; @@ -225,24 +221,24 @@ const Version = () => { return ( <> - + Firmware Version - - - - {LL.VERSION()} - - - Platform - - - Release Type - + + + {LL.VERSION()} - - + + {data.emsesp_version} {data.build_flags && ( @@ -250,8 +246,20 @@ const Version = () => { )} - {getPlatform()} - + + + + Platform + + + {getPlatform()} + + + + Release Type + + + {data.emsesp_version.includes('dev') ? LL.DEVELOPMENT() : LL.STABLE()} @@ -259,40 +267,48 @@ const Version = () => { - + {LL.AVAILABLE_VERSION()} + + + {LL.STABLE()} + + + + + {latestVersion} + + + + {!usingDevVersion && showButtons()} + + + {LL.DEVELOPMENT()} + + + + + {latestDevVersion} + + + + {usingDevVersion && showButtons()} + + {internetLive ? ( <> - - - - {LL.STABLE()} - - - {LL.DEVELOPMENT()} - - - - - {latestVersion}   - - (changelog) - - {!usingDevVersion && showButtons()} - - - {latestDevVersion}   - - (changelog) - - {usingDevVersion && showButtons()} - - - {upgradeAvailable ? ( - + { {LL.UPGRADE_AVAILABLE()} ) : ( - + { ) : ( - device cannot access internet + no access to download site )}