Explorar o código

remove hardcoded version number

Konstantinos Spartalis hai 1 mes
pai
achega
b434bba12f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
                     }