mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-11-13 13:55:14 +00:00
remove hardcoded version number
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user