mirror of
https://github.com/pi-hole/web.git
synced 2026-04-02 08:32:55 +01:00
Don't link to github releases if docker tag is nightly (#3718)
This commit is contained in:
@@ -537,8 +537,8 @@ function updateVersionInfo() {
|
||||
// Display update information for the docker tag
|
||||
updateComponentAvailable = true;
|
||||
dockerUpdate = true;
|
||||
} else {
|
||||
// Display the link for the current tag
|
||||
} 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 +
|
||||
|
||||
Reference in New Issue
Block a user