It's empty, not null

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König
2023-10-14 20:09:35 +02:00
parent c992b00720
commit 9ea844f332

View File

@@ -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