Skip to content

Commit

Permalink
It's empty, not null
Browse files Browse the repository at this point in the history
Signed-off-by: Christian König <[email protected]>
  • Loading branch information
yubiuser committed Oct 14, 2023
1 parent c992b00 commit 9ea844f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pi-hole/js/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9ea844f

Please sign in to comment.