Apply suggestion from @rdwebdesign

Show the link if the version matches a date based tag

Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>
Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
yubiuser
2026-02-26 20:15:04 +01:00
committed by GitHub
parent edee7b9654
commit d985829a23

View File

@@ -537,8 +537,8 @@ function updateVersionInfo() {
// Display update information for the docker tag
updateComponentAvailable = true;
dockerUpdate = true;
} else if (v.local !== "nightly") {
// Display the link for the current tag if not nightly
} else if (/^\d{4}\.\d{2}\.\d+/.test(v.local)) {
// Display the link if the current tag is a normal date-based tag
localVersion =
'<a href="' +
v.url +