mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 02:38:28 +00:00
It's empty, not null
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user