mirror of
https://github.com/pi-hole/web.git
synced 2026-04-17 23:54:10 +01:00
Remove redundant setting of variables
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br> Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
@@ -518,7 +518,6 @@ function updateVersionInfo() {
|
||||
"</a>";
|
||||
if (v.remote === null) {
|
||||
// No remote version available, we cannot determine if an update is available
|
||||
updateComponentAvailable = false;
|
||||
localVersion = v.local + " (Latest: N/A)";
|
||||
} else if (versionCompare(v.local, v.remote) === -1) {
|
||||
// Update available
|
||||
@@ -539,8 +538,6 @@ function updateVersionInfo() {
|
||||
if (v.name === "Docker Tag") {
|
||||
if (v.remote === null) {
|
||||
// No remote version available, we cannot determine if an update is available
|
||||
updateComponentAvailable = false;
|
||||
dockerUpdate = false;
|
||||
localVersion = v.local + " (Latest: N/A)";
|
||||
} else if (versionCompare(v.local, v.remote) === -1) {
|
||||
// Display update information for the docker tag
|
||||
|
||||
Reference in New Issue
Block a user