소스 검색

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);
                     }