浏览代码

remove hardcoded version number

Konstantinos Spartalis 1 月之前
父节点
当前提交
b434bba12f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      frontend/src/components/SiteFooter.tsx

+ 1 - 1
frontend/src/components/SiteFooter.tsx

@@ -43,7 +43,7 @@ export function SiteFooter() {
                     const latest = data.tag_name;
                     setLatestVersion(latest);
 
-                    const currentVersion = "2.12.1";
+                    const currentVersion = getVersion();
                     if (currentVersion && compareVersions(currentVersion, latest)) {
                         setIsNewVersionAvailable(true);
                     }