From 9ea844f332dc4e13f2c9cf5b1c2cfebad2fbf4b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Sat, 14 Oct 2023 20:09:35 +0200 Subject: [PATCH] It's empty, not null MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- scripts/pi-hole/js/footer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pi-hole/js/footer.js b/scripts/pi-hole/js/footer.js index 77d121421..286707dbb 100644 --- a/scripts/pi-hole/js/footer.js +++ b/scripts/pi-hole/js/footer.js @@ -522,7 +522,7 @@ function updateVersionInfo() { } else { // non-master branch localVersion = "vDev (" + v.branch + ", " + v.hash + ")"; - if (v.hash_remote !== null && v.hash !== v.hash_remote) { + if (v.hash_remote && v.hash !== v.hash_remote) { // hash differ > Update available updateComponentAvailable = true; // link to the commit history instead of release page